- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhello.java
More file actions
Latest commit
19 lines (17 loc) · 429 Bytes
/
Copy pathhello.java
File metadata and controls
19 lines (17 loc) · 429 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
importjava.util.*;
importjava.lang.*;
importjava.io.*;
// The main method must be in a class named "Main".
classMain {
publicstaticvoidmain(String[] args) {
System.out.println("Hello pata!");
Main2hola = newMain2();
hola.main();
}
}
// The main method must be in a class named "Main".
classMain2 {
publicstaticvoidmain() {
System.out.println("Love u so much!");
}
}