單項選擇題

兩個字符串String str1,str2;錯誤的連接二者的方式是()

A.str1+str2
B.str1.str2
C.str1.contat(str2)
D.str2.contat(str1)

微信掃碼免費搜題