Skip to content

Commit 094fb1b

Browse files
committed
Update files
1 parent ead16e4 commit 094fb1b

2 files changed

Lines changed: 37 additions & 1 deletion

File tree

CodeStart/chap_01/HelloWorld/HelloWorldDocumented.java

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/*****************************************************************************
2+
* PROJECT: Java-101 Comprehensive Programming Course
3+
* MODULE: Introduction to Java Fundamentals
4+
* LESSON: 1.1 - Hello World Implementation With Documentation
5+
*
6+
* AUTHOR: Dr. Saad Laouadi, Ph.D.
7+
* CREATED: March 2025
8+
*
9+
* Copyright © 2025 Quant Coding Versity. All Rights Reserved.
10+
* See LICENSE file for complete terms.
11+
*****************************************************************************/
12+
113
// This is a Java program that prints "Hello world!!!" to the console.
214

315
// The 'public' keyword is an access modifier that makes the class accessible by any other class.
@@ -11,7 +23,7 @@ public class HelloWorldDocumented {
1123
public static void main(String[] args) {
1224
System.out.println("========================================\n");
1325
System.out.println("This is a very simple program in Java");
14-
26+
1527
// 'System' is a class from the 'java.lang' package.
1628
// 'out' is a static member of the 'System' class. It is an instance of 'PrintStream' and represents the standard output stream.
1729
// 'println' is a method of 'PrintStream' that prints a line of text to the console.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*****************************************************************************
2+
* PROJECT: Java-101 Comprehensive Programming Course
3+
* MODULE: Introduction to Java Fundamentals
4+
* LESSON: 1.1 - Hello World Implementation
5+
*
6+
* AUTHOR: Dr. Saad Laouadi, Ph.D.
7+
* CREATED: March 2025
8+
*
9+
* Copyright © 2025 Dr. Saad Laouadi. All Rights Reserved.
10+
* See LICENSE file for complete terms.
11+
*****************************************************************************/
12+
13+
public class HelloWorldWithDocstring {
14+
/**
15+
* The main method is the entry point for every Java application.
16+
* When you run a Java program, the JVM starts execution from this method.
17+
*
18+
* @param args Command line arguments passed to the program (not used in this example)
19+
*/
20+
public static void main(String[] args) {
21+
// Print a greeting message to the console
22+
System.out.println("Hello world!!!");
23+
}
24+
}

0 commit comments

Comments
 (0)