This post shows how to concatenate String using trivial methods like the plus operator and the concat method. Here, we'll look at some problems associated with those two ways and how to avoid them using the StringBuilder and StringBuffer classes.
This article explains the toString method, its purpose, and how to use it effectively in Java classes.
In this article, we'll look at the String Pool and how it works in the Java programming language. Code examples illustrate the string immutability and string pool.