8000 Ndetloff learntodebug 1 by ndetloff · Pull Request #1 · ChrisMayfield/ThinkJavaCode2 · GitHub
[go: up one dir, main page]

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

< 8000 input type="hidden" name="authenticity_token" value="mmVGscMvfAZflMQAS_otjFLYIwcn9s4WyHCMUhICY0m8yfjwieTzh2Sj_tlhVhBrossJUHqryMzE1eOltyPAsQ" autocomplete="off" />
Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions ch01/Hello.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ public static void main(String[] args) {
}

}

public class Hello [
public static void main(String[]args) {
//generate some simple output
System.out.println("Hello, World!");
}
}

11 changes: 5 additions & 6 deletions ch01/Hello2.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
public class Hello2 {

public static void main(String[] args) {
// generate some simple output
System.out.println("Hello, World!"); // first line
System.out.println("How are you?"); // another line
public static void main(String[]args) {
//create some line of text
system.out.println ("Hello, World!"); //first line
system.out.println ("How are you?"); //second line
}

}

0