I'm learning Java. I wonder how to run the below 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