abstractclass A {
abstractvoid callme();
void callmetoo() {
System.out.println("This is a concrete method.");
}
}
class B extends A {
void callme() {
System.out.println("B's implementation of callme.");
}
}
class AbstractDemo {
publicstaticvoid main(String args[]) {
B b = new B();
b.callme();
b.callmetoo();
}
}