First Java Program | Hello World Example
To create a simple Java program, you need to create a class that contains the main method. Let's understand the requirement first.In this section, we will learn how to write the simple program of Java. We can write a simple hello Java program easily after installing the JDK.
The requirement for Java Hello World Example
For executing any Java program, the following software or application must be properly installed.
- Install the JDK if you don't have installed it, download the JDK and install it.
- Set path of the jdk/bin directory.
- Create the Java program
- Compile and run the Java program
Please watch this complete Video
0 Comments