第4题怎么算 以及第6、8题答案对不对

img

4题. (a1[0]+=a1[1])+ ++a1[2] ,结果应该是13

8题. 结果应是helloWorld!

第8题问的是执行后的s值是多少

8.hello World,源码里面对concat()方法的说明是Concatenates the specified string to the end of this string.就是把括号里面的字符串直接拼接到当前字符串的后面

4、13;++在前,先加1,在进行其他运算
7、7
8、hello

img

为啥说第八题是hello呢?