当前位置: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 行,有多少行可以编译?()  

参考答案:

  参考解析

本题暂无解析

在线 客服