31
Suppose I have an expression in Java such as:
String s = "abc" + methodReturningAString() + "ghi" +
anotherMethodReturningAString() + "omn" + "blablabla";
What's the behaviour of the Java's default JDK compiler? Does it just makes the five concatenations or there is a smart performance trick done?