KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel