执行下列代码,系统输出的结果为:class Atom{Atom(){System.out.print("atom ");}}class Rock extends Atom{Rock(String type){System.out.print(type);}}public class Mountain extends Rock{Mountain(){super("granite ");new Rock("granite ");}public static void main(String[] a){new Mountain();}}
A. 编译期错误
B. atomgranite
C. granitegranite
D. atomgranitegranite
E. atom granite atom granite