题目内容
执行下列代码,系统输出的结果为: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();}}
查看答案
搜索结果不匹配?点我反馈