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.

Computer Science & Information Technology

You might also like to view...

Which of the following data should be entered as a label?

A. telephone number B. price C. volume D. distance

Computer Science & Information Technology

Which of the following is NOT a way to capture information from the Internet?

A) Paste B) Screen Clipping C) Send to OneNote D) New Quick Note

Computer Science & Information Technology

____ marks indicate the scale of measure for each value on the y-axis.

A. Datapoint B. Tick C. Axis D. Legend

Computer Science & Information Technology

What was the content provider for accessing user contacts originally called?

a. ContactsContract b. Contacts c. ReadContacts d. ContactList

Computer Science & Information Technology