字符串连接问题

int a=10;

int b=20;

//字符串连接,+ 

System.out.println(" "+a+b);//1020

System.out.println(a+b+" ");//30

posted @ 2020-06-07 18:52  WYX1504  阅读(115)  评论(0)    收藏  举报