Interesting note about the string + operator. Java compiler automatically turns calls to it into StringBuilder’s append calls and doesn’t create any intermediate objects.
+
append
Interesting note about the string
+operator. Java compiler automatically turns calls to it into StringBuilder’sappendcalls and doesn’t create any intermediate objects.