Skip to content

Commit f8369ef

Browse files
authored
Update Hello2.java
1 parent 8c1e792 commit f8369ef

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

‎ch01/Hello2.java‎

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

0 commit comments

Comments
 (0)