代码:
public class Test {
public static void main(String[] args) {
System.out.println(1 + 1 + "s");
System.out.println("s" + 1 + 1);
}
}
输出:
2s
s11
代码:
public class Test {
public static void main(String[] args) {
System.out.println(1 + 1 + "s");
System.out.println("s" + 1 + 1);
}
}
2s
s11