Java · Easy · ProWhy is string concatenation using + in a loop inefficient? How does the compiler optimize it?JavaCore JavaStrings