2016年12月20日

JAVA GA(3)

摘要: 第1題題目:Which one statement is true? (A) Has-a relationships should never be encapsulated.(封装) (B) An array or a collection can be used to implement a o 阅读全文

posted @ 2016-12-20 21:10 xcshehe 阅读(164) 评论(0) 推荐(0) 编辑

JAVA GA(2)

摘要: 第5題題目:11. class A{String write(){return "Nothing";}}12.class B extends A{String write(){return "Chinese";}}13.class C extends A{String write(){return  阅读全文

posted @ 2016-12-20 20:35 xcshehe 阅读(154) 评论(0) 推荐(0) 编辑

JAVA GA(1)

摘要: 第4題題目:11.class Parent{ 12. String Name(){return "ppp";} 13.} 14.public class Son extends Parent{ 15. String Name(String name){return name;} 16. public 阅读全文

posted @ 2016-12-20 20:09 xcshehe 阅读(252) 评论(0) 推荐(0) 编辑

导航