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

问题:

[单选]

public class Employee{  
private String name;  
public Employee(String name){  
this.name = name;  }  
public String getName(){  
return name;  }  }  
public class Manager extends Employee{  
private String department;  
public Manager(String name,String department){  
this.department = department;  
super(name); (应于上一行掉位置)  
System.out.println(getName());  }  }  
Super的位置是否在方法的首行  
执行语句new Manager(“smith”,”SALES”)后程序的输出是哪项?()

A .  smith
B .  null
C .  SALES
D .  编译错误

餐饮服务从业人员在最初进行健康检查,取得健康证以后,无需再进行健康检查。 润湿液体的液面,在毛细管中呈B形,液体的液面高度在毛细内() 凸。 凹。 上升。 下降。 市政工程施工日志的“其他内容”应包含()等。 文明施工及场容场貌管理情况。 设计变更、技术核定通知及执行情况。 材料进场、送检情况。 隐蔽工程验收情况。 当肝功能不全时,肝药酶活性降低,此时() 药物代谢减慢,清除率上升。 药物代谢减慢,半衰期延长。 药物清除率下降,半衰期缩短。 药物清除率上升,半衰期缩短。 药物清除率下降,半衰期不变。 组织运行依托()与()。 工作流程。 组织奖惩机制。 组织架构。 组织决策层。

public class Employee{  
private String name;  
public Employee(String name){  
this.name = name;  }  
public String getName(){  
return name;  }  }  
public class Manager extends Employee{  
private String department;  
public Manager(String name,String department){  
this.department = department;  
super(name); (应于上一行掉位置)  
System.out.println(getName());  }  }  
Super的位置是否在方法的首行  
执行语句new Manager(“smith”,”SALES”)后程序的输出是哪项?()

参考答案:

  参考解析

本题暂无解析

在线 客服