> [填空题] 请写出下面程序的运行结果: 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); 结果:______。
问题:
发布时间:2022-07-01
[填空题] 请写出下面程序的运行结果: 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);