What steps must the programmer take to create an executable Java program?
What will be an ideal response?
First, the programmer must create the source code. The programmer creates a Java class
that is contained in a file with the same name as the class. The source code file ends with the .java
extension. Next, the programmer uses a tool called a compiler to translate the source code into Java
byte-code. If the source code is syntactically correct, a file containing the byte-code is created. This file has the same name as the source code file with one exception, the byte-code file ends in the
.class extension. Once the .class is generated, it may be executed on any computer that has the Java Virtual Machine
(JVM) installed on it.
You might also like to view...
Subforms always display all the fields from the underlying table
Indicate whether the statement is true or false
Which of the following is NOT an example of a text effect?
A) Text glow B) Mirrored text C) Italics D) Shadowed text