Monday 25 January 2021

Java Program to implement an interface structure

 Code : 

interface I1

{

  public void comppute1();

}


interface I2 extends I1

{

  public void compute2();

}


Output : 



No comments:

Post a Comment