关于接口和接口中多肽问题的实例
摘要:
/** * 关于接口和接口中多肽问题的实例 * * @author iflytek * */interface Singer { public void sing(); public void sleep();}interface Painter { public void paint(); public void eat();}class Student implements Singer { private String name; Student(String name) { this.name = name; } public void study() { System.out... 阅读全文
posted @ 2012-08-09 19:44
Yours风之恋
阅读(197)
评论(0)
推荐(0)
浙公网安备 33010602011771号