//Java字符串拼接的细节
public class Test { public static void main(String[] args ){ System.out.println(10+20+"123"); System.out.println("123"+10+20); } }
输出是 30123 1231020
Java字符串拼接的细节
原文:https://www.cnblogs.com/qq980292214/p/13904551.html