Professional Documents
Culture Documents
Assignment 1 - Vibuddha Vidarshana
Assignment 1 - Vibuddha Vidarshana
4. Yes. After compiling it creates a java class file which is executed by JVM. It is same for any
operating system which has JVM(JDK).
5.
6. It means converting source code into byte code. Source code must coverted into byte code to
JVM to execute the program.
7. Open terminal > type the command "touch fileName.java"> Type the java program in text file
and save it (name the class same as file name) > compile the java file using "javac fileName.java"
> run it using "java fileName"
9. “java Example” use to run a compiled java program with class named Example (Example.class)
10. A, G