Skip to content

Commit 2d09d10

Browse files
authored
Add files via upload
1 parent 25f89fd commit 2d09d10

9 files changed

Lines changed: 547 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
public class HelloWorld {
2+
// Main method
3+
public static void main(String[] args) {
4+
// prints hello world
5+
System.out.println("Hello World!");
6+
}
7+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
public class HelloYou {
2+
public static void main(String[] args) {
3+
// print my name
4+
System.out.println("Hello Kelli");
5+
}
6+
}
84.3 KB
Loading
214 KB
Loading
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
public class LanguageFacts {
2+
public static void main(String[] args) {
3+
// Press enter or return on your keyboard after each semicolon!
4+
5+
System.out.println("Java is a class-based language.");
6+
7+
System.out.println("Java classes have a 'main' method.");
8+
9+
System.out.println("Java statements end with a semicolon.");
10+
11+
System.out.println("Programming is so much fun!");
12+
}
13+
14+
}

0 commit comments

Comments
 (0)