Skip to content

Commit 3f5ddeb

Browse files
authored
Update Hello2.java
1 parent c215058 commit 3f5ddeb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ch01/Hello2.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
public class Hello2 {
1+
public class Hello2
2+
{
23

3-
public static void main(String[] args) {
4+
public static void main(String[] args)
5+
{
46
// generate some simple output
57
System.out.println("Hello, World!"); // first line
68
System.out.println("How are you?"); // another line

0 commit comments

Comments
 (0)