20 lines
362 B
Java
20 lines
362 B
Java
public class Main {
|
|
public static void main(String[] args) {
|
|
System.out.printf("Hello java %n");
|
|
|
|
Mod module = new Mod();
|
|
module.init();
|
|
}
|
|
}
|
|
|
|
class Mod {
|
|
public Mod() {
|
|
System.out.printf("Hello from import in self file%n");
|
|
}
|
|
|
|
public void init() {
|
|
System.out.printf("The init function%n");
|
|
}
|
|
}
|
|
|