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

單項選擇題

public class Employee{  
private String name;  
public Employee(String name){  
this.name = name;  }  
public void display(){  
System.out.print(name);  }  }  
public class Manager extends Employee{  
private String department;  
public Manager(String name,String department){  
super(name);  
this.department = department;  }  
public void display(){  
System.out.println(
super.display()+”,”+department); 
}  
}  
執(zhí)行語句new Manager(“smith”,”SALES”)后程序的輸出是哪項?() 

A. smith,SALES
B. null,SALES
C. smith,null
D. null,null

微信掃碼免費搜題