Java Reference
In-Depth Information
• It provides us the function which will allow us to link code dynamically that
will be safe.
Simple program
/* Call this file “Example.java” */
Class Example {
Public static void main (string args []) {
System.out.println (“this is a simple java program.”);
}
}
Command line argument to pass the class name is
C :\> java Example
Simple output of the above program
this is a simple java program.
Calling of the file in java cmd
Calling of the file: “Example.java”.
Search WWH ::




Custom Search