Javanote字符串连接 ling

String a="100";

int b=2;

String c=a+b;

then the answer is c=1002;

+ make the two sides become String when there is at least one String exsit.

原文地址:https://www.cnblogs.com/lingNote/p/3322583.html