Multiple inheritance in java using interface
interface I1{
void show();
}
interface I2{
void display();
}
class Test implements I1,I2{
public void show(){
System.out.println("its test");
}
public void display(){
System.out.println("its displaying now");
}
public static void main(String args[]){
Test t=new Test();
t.show();
t.display();
}
}