Skip to content

Commit b5bef0f

Browse files
Basic corrections
Corrected Class name and comments
1 parent 6668c93 commit b5bef0f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

01Day1/HELLOWORLD/helloworld.java

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
package DAY1;
22

3-
public class helloworld {
4-
public static void main(String[] args) {
5-
System.out.println("HELLO WORLD");// here System.out.println is a out put statement like cout or printf in cpp
6-
// and c respectively
3+
public class Hello_World
4+
//It is a good practice to start the name of the Class with a capital letter
5+
{
6+
public static void main(String[] args)
7+
//This line acts as the entry point of the programme
8+
{
9+
System.out.println("HELLO WORLD");
10+
// here System.out.println is used to print the argument present between the quotation mark
11+
//like cout or printf in cpp and c respectively
712
}
813

914
}

0 commit comments

Comments
 (0)