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

问题:

[单选]

class Bird { 
static void talk() { System.out.print("chirp "); } 
} 
class Parrot extends Bird { 
static void talk() { System.out.print("hello "); } 
public static void main(String [] args) { 
Bird [] birds = {new Bird(), new Parrot()}; 
for( Bird b : birds) 
b.talk(); 
} 
} 
结果为:() 

A . chirp chirp
B . chirp hello
C . hello hello
D . 编译失败

水工建筑物的鱼道、过木道按作用应属于()。 A.专门建筑物 。 B.挡水建筑物 。 C.泄水建筑物 。 D.取水建筑物。 葡萄糖中重金属的检查可用()。 氯化钡试剂。 硝酸银试剂。 硫代乙酰胺试剂。 锌与盐酸。 硫化钠试剂。 停产期间,进水量小,可适当回流出水到(),确保颗粒污泥的正常生长,不作停水运行操作。 集水池。 初沉池。 调节池。 污泥池。 药物中氯化物的检查可用()。 氯化钡试剂。 硝酸银试剂。 硫代乙酰胺试剂。 锌与盐酸。 硫化钠试剂。 项目增量表

class Bird { 
static void talk() { System.out.print("chirp "); } 
} 
class Parrot extends Bird { 
static void talk() { System.out.print("hello "); } 
public static void main(String [] args) { 
Bird [] birds = {new Bird(), new Parrot()}; 
for( Bird b : birds) 
b.talk(); 
} 
} 
结果为:() 

参考答案:

  参考解析

本题暂无解析

在线 客服