3.6k views
5 votes
How to write a java program

2 Answers

6 votes

Answer:

The basic steps to create the Hello World program are: write the program in Java, compile the source code, and run the program.

Step-by-step explanation:

The basic steps to create the Hello World program are: write the program in Java, compile the source code, and run the program. Here's a more detailed guide on what to do:

1) Write the Java Source Code

2) Save the File

3) Open a Terminal Window

4) The Java Compiler

5) Change the Directory

6) Compile Your Program

7) Run the Program

Tags: java program, java programming

User Palako
by
6.4k points
5 votes

Answer:

Write the Java Source Code

Save the File

Open a Terminal Window

The Java Compiler

Change the Directory

Compile Your Program

Run the Program

User Jose Torres
by
5.9k points