1package learningjava;
2
3public class helloworld {
4 public static void main(String[] args) {
5 new helloworld().go();
6 // OR
7 helloworld.get();
8 }
9
10 public void go(){
11 System.out.println("Hello World");
12 }
13 public static void get(){
14 System.out.println("Hello World, Again");
15 }
16}
17