Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 359 Bytes

File metadata and controls

15 lines (11 loc) · 359 Bytes

A Very Basic Java Program

The most basic Java code is written as a single Java source file which is compiled using the javac tool. The output of the javac tool is a class which we can then run.

Compile

javac Hello.java

Run

java Hello.class

Next step, go to branch Step_02