-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path001-Hello-World.java
More file actions
31 lines (28 loc) · 970 Bytes
/
Copy path001-Hello-World.java
File metadata and controls
31 lines (28 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* ============================================================================
* Program Name : Hello World
* File Name : 001-Hello-World.java
* Class Name : HelloWorld
*
* Description:
* This program demonstrates the basic structure of a Java program.
* It prints the message "Hello, World!" to the console using the
* System.out.println() method.
*
* Objective:
* - Understand the structure of a Java program.
* - Learn the purpose of the main() method.
* - Display output on the console.
*
* Author : Shaik Mahaboob Basha
* Repository : 01-Core-Java
* Folder : 08-Java-Programs
* ============================================================================
*/
public class HelloWorld {
// The main() method is the entry point of every Java application.
public static void main(String[] args) {
// Print the message to the console.
System.out.println("Hello, World!"); // Output: Hello, World!
}
}