摘要:
interface Window { public void open(); public void close(); public void activated(); public void iconified(); public void deiconified(); } abstract class WindowAdapter im... 阅读全文
摘要:
interface Fruit { void eat(); } class Apple implements Fruit { public void eat() { System.out.println("I am eating apple."); } } class Orange implements Fruit { ... 阅读全文