欢迎来到牛牛题库网 牛牛题库官网
logo
全部科目 > Java认证考试 > Java认证考试综合练习

单项选择题

现有: 
interface Animal {      
void eat () ;      
}      
//insert code here      
public class HouseCat extends Feline {      
public void eat() { }      
} 
和五个申明 
abstract class Feline implements Animal { } 
abstract  class  Feline  implements  Animal  {  void eat () ;  } 
abstract class Feline implements Animal { public void eat();} 
abstract class Feline implements Animal { public void eat() {}  } 
abstract class Feline implements Animal { abstract public void eat();}
结果为:()      

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

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题