interface Printable {
void Print();
}
interface Showable extends Printable {
void show();
}
class TestInterfaceInheritence implements Showable {
public void print() {
System.out.println("Hello");
}
public void show() {
System.out.println("My dear friend");
}
public static void main(String args[]) {
TestInterfaceInheritence t = new TestInterfaceInheritence();
t.print();
t.show();
}
}