No. (If you got this question wrong, or don't even know what it asks, look back at Chapter Four.)
Here is an example Java program. It is about as small as a Java program can be. When it runs, it writes Hello World! on the computer monitor. The details will be explained later.
public class Hello { public static void main ( String[] args ) { System.out.println("Hello World!"); } }
This program can be created using a text editor such as the Notepad editor that comes with Windows. Save the program in a text file on the hard disk, named Hello.java. As a text file, you can print it, display it on the monitor, copy it to another text file, or alter it with a text editor.
The file must be named exactly Hello.java
(upper and lower case as given).
See the following chapter for details on how to do this for Windows.
A source program is a text file that contains a program (such as above) written in a programming language. Since it contains ordinary text (stored as bytes) it cannot be directly executed (run) by the computer system.
(Review of Chapter 4:) What are the two ways that a source program (written in any programming language) could be run on a computer system?