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!" );
}
}
💬 ชาวเน็ตแห่แชร์: mafee/creating hello world in java b - Kapook Update 2025
💬 ชาวเน็ตแห่แชร์: mafee/creating hello world in java b - Kapook Update 2025
Explanation:
class helloworld {
}
💬 ชาวเน็ตแห่แชร์: mafee/creating hello world in java b - Kapook Update 2025
💬 ชาวเน็ตแห่แชร์: mafee/creating hello world in java b - Kapook Update 2025
defines a class named helloworld
public static void main ( String [] args ){
}
💬 ชาวเน็ตแห่แชร์: mafee/creating hello world in java b - Kapook Update 2025
💬 ชาวเน็ตแห่แชร์: mafee/creating hello world in java b - Kapook Update 2025
Main Java Code Goes Here.
System . out . println ( "Hello World!" );
💬 ชาวเน็ตแห่แชร์: mafee/creating hello world in java b - Kapook Update 2025
💬 ชาวเน็ตแห่แชร์: mafee/creating hello world in java b - Kapook Update 2025
Prints "Hello World!" in java console.
Remember: Don't Forget To End
System . out . println ( "Hello World!" )
💬 ชาวเน็ตแห่แชร์: mafee/creating hello world in java b - Kapook Update 2025
💬 ชาวเน็ตแห่แชร์: mafee/creating hello world in java b - Kapook Update 2025
with a semicolon (;) to prevent an error .
Here we go! we have a hello world project in java!
Top comments (2)
Really?! A beginner who tries to follow your tutorial might habe hundreds of questions like:
You don't answer any of these. But the one thing you think is important is the semicolon at the end? Really?! 🤦♂️
Lol 😂 i was like 2 days into java at that time!
and i didnt follow many practices.
since then i have slowly shifted to intellij
not a tutorial of course