Addition is left associative.
let's see it step by step
10+30+" Sachin "+40+40
----- -------
40 +" Sachin "+40+40 <--- here both operands are integers with the + operator, which is addition
---
"40 Sachin "+40+40 <--- + operator on integer and string results in concatenation
-----------
"40 Sachin 40"+40 <--- + operator on integer and string results in concatenation
--------------
"40 Sachin 4040" <--- + operator on integer and string results in concatenation
-----------------