日韩欧美亚洲 _ 欧美亚洲一区 _ 日本亚洲欧美 _ 亚洲精品欧美 国产白袜脚足J棉袜在线观看_亚洲熟妇av一区二区三区_久久天天躁狠狠躁夜_精品众筹模特私拍在线

單項(xiàng)選擇題

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í)行語(yǔ)句new Manager(“smith”,”SALES”)后程序的輸出是哪項(xiàng)?() 

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

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