当前位置:Java认证考试综合练习题库

问题:

[单选]

1. interface Animal {  
2. void eat();  
3. }  
4.  
5. // insert code here  
6.  
7. public class HouseCat implements Feline {  
8. public void eat() { }  
9. }  
和以下三个接口声明:  
interface Feline extends Animal { }  
interface Feline extends Animal { void eat(); }  
interface Feline extends Animal { void eat() { } }  
分别插入到第 5 行,有多少行可以编译?()

A . 0
B . 1
C . 2
D . 3

下列选项中,属于工程材料的有()。 半成品。 脚手架。 施工模板。 预制构配件。 各类原材料。 《将进酒》主旨及修辞表现? 《药品说明书和标签管理规定》中要求,药品包装上,药品通用名的单字面积必须是商品名的() 一半大。 八分大。 一倍大。 两倍大。 三倍大。 在台秤的移动过程中,应将()拨下,卡住标尺,不使其损坏。 休止器。 视准器。 游铊。 秤铊。 人力资源区别于物质资源的根本所在是由于它的()。 开发性。 增值性。 时效性。 能动性。

1. interface Animal {  
2. void eat();  
3. }  
4.  
5. // insert code here  
6.  
7. public class HouseCat implements Feline {  
8. public void eat() { }  
9. }  
和以下三个接口声明:  
interface Feline extends Animal { }  
interface Feline extends Animal { void eat(); }  
interface Feline extends Animal { void eat() { } }  
分别插入到第 5 行,有多少行可以编译?()

参考答案:

●  参考解析

本题暂无解析

在线 客服