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

單項選擇題

class Parent {    
String one, two; 
public Parent(String a, String b){    
one = a;    
two = b;    } 
public void print(){ System.out.println(one); }    } 
public class Child extends Parent {    
public Child(String a, String b){    
super(a,b);    
} 
public void print(){ 
System.out.println(one + " to " + two);    
} 
public static void main(String arg[]){   
 Parent p = new Parent("south", "north");    
Parent t = new Child("east", "west");    
p.print();    
t.print();    
}    
} 
Which of the following is correct?()

A. Cause error during compilation. 
B. south         east 
C. south to north     east to west    
D. south to north      east    
E. south     east to west

微信掃碼免費搜題