Skip to content

Commit 8e0e84c

Browse files
committed
Excercises 1-2 and 1-3
1 parent ce03ee9 commit 8e0e84c

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

ch01/Hello.java

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
public class Hello {
2-
3-
public static void main(String[] args) {
4-
// generate some simple output
5-
System.out.println("Hello, World!");
6-
}
7-
8-
}
1+
public class Hello {
2+
3+
public static void main(String[] args) {
4+
// generate some simple output
5+
System.out.println("Hello, World!");
6+
// printing second line
7+
System.out.println("How are you?");
8+
}
9+
10+
}

0 commit comments

Comments
 (0)