99色精品-9色在线-99色在线-99色视频 国产欧美日产一区二区三区_亚洲精品亚洲人成在线观看_四虎在线精品永久观看_免费一级a一片久久精

單項(xiàng)選擇題

現(xiàn)有: 
1. abstract class Color  { 
2.protected abstract  String getRGB();    
3.  }    
4. 
5. public class Blue extends Color  {    
6.    //insert code here     
7.  } 
和四個聲明: 
public String getRGB()  {  return "blue";  }     
String getRGB()  {  return  "blue";  ) 
private  String getRGB()  {  return  "blue";  }    
 protected String getRGB()  {  return "blue";  )     
分別插入到第6行,有幾個可以通過編譯?()    

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

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題