• 2022-05-30
    以下代码程序运行后输出结果为public class Main { public Main() { System.out.print("main "); } public Main(String s) { this(); System.out.print("main with "+s); } public static void main(String[] args) { Main main = new Main("wow"); } }
    A: main with main wow
    B: mainmain with wow
    C: main main with wow
    D: main with wowmain