class Welcome { public static void main(String args[]) { B b = new B(); b.callme(); } } abstract class A { abstract void callme(); } class B extends A { void callme() { System.out.println("B's implementation of callme."); } }
You must be logged in to post a comment.