/* * a.java * * Created on April 19, 2007, 7:30 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ /** * * @author Shobhon Rahman */ public class a { public void sayHello() { System.out.println("Hello"); } } ================== /* * main.java * * Created on April 19, 2007, 7:30 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ /** * * @author Shobhon Rahman */ public class main { public static void main() { a ainstance = new a(); ainstance.sayHello(); } }