explain the phase compile- java program


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.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: explain the phase compile- java program
Reference No:- TGS0356445

Expected delivery within 24 Hours