Java / Using String
When the concatenation of final string literal happen?
JVM concatenates the final string literals during compile time.
For example, final String website = "javapedia." + "net";
, the concatenation is handled by JVM during compile time itself.
More Related questions...