摘要: 题一,如下代码的执行结果:class Person{ String name = "No name"; public Person(String nm){name = nm;} } class Employee extends Person{ String empID = "... 阅读全文
posted @ 2014-06-26 16:05 robin·张 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 如下代码,在所指示的位置插入代码能够正常编译:class Alpha{ public void bar(int... x){}; public void bar(int x){};} public class Beta extends Alpha{ //insert code ... 阅读全文
posted @ 2014-06-26 10:56 robin·张 阅读(237) 评论(0) 推荐(0) 编辑