The expression is evaluated left to right. The first two operands are both int (10 and 30), so the first + performs addition.
The next + gets an int operand (40) and a String operand (" Sachin "), so it converts the int to String and performs String concatenation.
The next + operators get a String operand and an int operand, and also perform String concatenation.
If you want a different evaluation order, use parentheses :
String s=10+30+" Sachin "+(40+40);
This will output 40 Sachin 80.