File tree Expand file tree Collapse file tree
CodeStart/chap_01/HelloWorld Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments