File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed
src/com/codefortomorrow/beginner/chapter1 Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 3
3
4
4
# ignore files
5
5
c4t-java.iml
6
- .DS_Store
6
+ .DS_Store
7
+
8
+ # ignore prettier files
9
+ .prettierrc.json
Original file line number Diff line number Diff line change
1
+ package com .codefortomorrow .beginner .chapter1 .practice ;
2
+
3
+ /**
4
+ * @author ArmeetJatyani
5
+ * March 2021
6
+ *
7
+ * Welcome to Java!
8
+ * This may be your first ever java program!
9
+ * We'll begin your journey with the infamous Hello World program!
10
+ */
11
+
12
+ // a class is an "object" where we will place all our code inside
13
+ public class HelloWorld {
14
+ // the main method (below) is the first thing that runs when your program is run
15
+ public static void main (String [] args ) {
16
+ // write code here (replace the "" with "Hello World!")
17
+ System .out .println ("" );
18
+ }
19
+ }
Original file line number Diff line number Diff line change
1
+ package com .codefortomorrow .beginner .chapter1 .practice ;
2
+
3
+ /**
4
+ * @author ArmeetJatyani
5
+ * March 2021
6
+ *
7
+ * Welcome to Java!
8
+ * This may be your first ever java program!
9
+ * We'll begin your journey with the infamous Hello World program!
10
+ */
11
+
12
+ // a class is an "object" where we will place all our code inside
13
+ public class HelloWorld {
14
+ // the main method (below) is the first thing that runs when your program is run
15
+ public static void main (String [] args ) {
16
+ // write code here (replace the "" with "Hello World!")
17
+ System .out .println ("Hello World!" );
18
+ }
19
+ }
You can’t perform that action at this time.
0 commit comments