- In java programming language all source code is first written in plain text file ending with the java extension.
- Those source files are then compiled into class files by the java compiler.
- A class file doesn't contain code that is native to the processor.
- It instead contains byte codes the native language of the java virtual machine(JVM).
- The java launcher tool then runs your application with an instance of the java virtual machine
Below Commands we must use for compilation and execution
- javac abc.java (java file)
- java abc
0 comments:
Post a Comment