Java Program to implement an interface structure

 Code : 

interface I1

{

  public void comppute1();

}


interface I2 extends I1

{

  public void compute2();

}


Output : 



Post a Comment

0 Comments