Creating Hello World! In Java
Mafee7
Posted on March 22, 2021
Creating Hello World! In Java
Steps:
1) Download & Install Java
2) Download & Install An Java IDE (Integrated Development Environment) (I Use Eclipse Ide)
3) Create Java Project
4) Use This Code:
class helloworld {
public static void main(String[] args){
System.out.println("Hello World!");
}
}
Explanation:
class helloworld{
}
defines a class named helloworld
public static void main(String[] args){
}
Main Java Code Goes Here.
System.out.println("Hello World!");
Prints "Hello World!" in java console.
Remember: Don't Forget To End
System.out.println("Hello World!")
with a semicolon (;) to prevent an error.
Here we go! we have a hello world project in java!
💖 💪 🙅 🚩
Mafee7
Posted on March 22, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.