- 单项选择题 interface Data { public void load(); } abstract class Info { public abstract void load(); } Which class correctly uses the Data interface and Info class?()
A、 public class Employee extends Info implements Data { public void load() { /*do something*/ } }
B、 public class Employee implements Info extends Data { public void load() { /*do something*/ } }
C、 public class Employee extends Info implements Data { public void load() { /*do something */ } public void Info.load() { /*do something*/ } }
D、 public class Employee implements Info extends Data { public void Data.load() { /*dsomething */ } public void load() { /*do something */ } }
E、 public class Employee implements Info extends Data { public void load() { /*do something */ } public void Info.load(){ /*do something*/ } }
F、 public class Employee extends Info implements Data{ public void Data.load() { /*do something*/ } public void Info.load() { /*do something*/ } }
- A
关注下方微信公众号,在线模考后查看
- Which two are true?(
- 形式参数指的是方法被()时的参数行,实际
- 求sum=d+dd+ddd+……+ddd
- Which of
- Within the&ensp
- A JSP pa
- Which lines&en
- 说明覆盖和重载之间的区别。
- An object̳
- 哪两个是同步的?()
- 求任意一个正整数的正整数因子 要求:用户
- 表达式newStringTokenize
- Click the
- int index&ensp
- 集合API 中Set接口的特
- 11. List
- 一个5位数,判断它是不是回文数。即123
- 以下关于支持Java运行平台的叙述,哪项
- What will&ensp
- 已知表达式int m[]={0,1,2,