// used to show argument passing
// declare native class
// Application main, call its display method
System.out.println("HelloWorld starting; args.length="+
args.length+"...");
for (int i=0; i<args.length; i++)
System.out.println("args["+i+"]="+args[i]);
HelloWorld hw = new HelloWorld();
hw.displayHelloWorld();// call the native function
System.out.println("Back in Java, \"myNumber\" now " + hw.myNumber);