• 2022-06-19
    public class Test{ public static void main(String[] args){ String s="y"; System.out.println(s+1+2); System.out.println(1+2+s); } }
    A: 输出:y12 3y
    B: 输出:y12 12y
    C: 输出:y3 3y
    D: 程序编译出错