Explain the phase Compile- Java Program Development
In Phase 2, programmer gives the command javac to compile the program. Java compiler translates the java program into bytecodes, which is language understood by the java interpreter.
To compile a program called Welcome.java, type
Javac Welcome.java
At the command window of your system. If program compiles correctly, a file called Welcome.class is produced. This is the file which contains the bytecodes which will be interpreted during the execution phase.