samedi 28 février 2015

Create a main method to run the below code


I'd like to call the below method and run the code:



public class Test01{
public interface Printable{
public void print();
}
public class PrintRectangle implements Printable{
public void print(){
System.out.println("Rectangle");
}
}




Aucun commentaire:

Enregistrer un commentaire