Fork me on GitHub
摘要: class Fu{ int num = 5; void method1() { System.out.println("fu method_1"); } void method2() { System.out.println("fu m... 阅读全文
posted @ 2014-12-20 17:02 龙族小龙 阅读(144) 评论(0) 推荐(0) 编辑
摘要: abstract class Animal{abstract void eat();}class Cat extends Animal{public void eat(){System.out.println("吃鱼");}public void catchMouse(){System.out.pr... 阅读全文
posted @ 2014-12-20 16:53 龙族小龙 阅读(102) 评论(0) 推荐(0) 编辑