请写出下面程序的运行结果:
public class Test extends TT
public static void main(String args[])
Test t=new Test("Tom.");
public Test(String s)
super(s);
System.out.print("How are you");
public Test( )
this("I am Jack.");
class TT
public TT( )
System.out.print("Hi!");
public TT(String s)
this( );
System.out.print("I am"+s);
结果: 【15】 。
题库:计算机等级考试
类型:填空题
时间:2017-07-03 15:35:57
免费下载:《填空》Word试卷
请写出下面程序的运行结果:
public class Test extends TT
public static void main(String args[])
Test t=new Test("Tom.");
public Test(String s)
super(s);
System.out.print("How are you");
public Test( )
this("I am Jack.");
class TT
public TT( )
System.out.print("Hi!");
public TT(String s)
this( );
System.out.print("I am"+s);
结果: 【15】 。
本题关键词:输出结果,行为结果,面试程序,行为结果评价,竣工结算程序,设计变更申请程序,行政诉讼程序,结果,程序,结果均;