you call the method like this in main method...



methodTest1a m;
m = new methodTest1a();
m.Method1();
m.Method2();