下列程序的运行结果是( )。class Shape{
下列程序的运行结果是( )。
class Shape{
public Shape(){
System.out.print("Shape");
}
}
class Circle extends Shape{
public Circle(){
System.out.print("Circle");
System.out.print("Circle");
}
}
public class Test{
public static void main(String[]args){
Shape d=new Circle();
}
}答案
C