Skip to content

Commit 44adc17

Browse files
committed
Writing first Java class using IntelliJ
1 parent d4f6e05 commit 44adc17

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

section3/HelloWorld/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
out/
33
!**/src/main/**/out/
44
!**/src/test/**/out/
5+
.kotlin
56

67
### Eclipse ###
78
.apt_generated
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
public class HelloWorld {
2+
3+
public static void main(String[] args) {
4+
System.out.println("Hello World");
5+
IO.println("Hi World");
6+
}
7+
8+
}

section3/HelloWorld/src/Main.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
void main() {
2+
IO.println("Hello Madan");
3+
System.out.print("Hi Java");
4+
}

0 commit comments

Comments
 (0)