Thanks for that link. I know about the string constant pool and the fact that the string literals that are used as part of a method's argument list are created in it.
It's just that where I found this piece of code (in the Sierra-Bates exam study guide), this fact is not mentioned explicitly when it comes to StringBuffer/StringBuilder though the book is very clear about it in the String section that precedes the former. So, since I wanted to be sure, I posted this topic.
Regards Percy
We can walk to school together. And we can both read this tiny ad:
a bit of art, as a gift, that will fit in a stocking