Stringbuffer does not handle constant strings more efficiently than the String type. That is why the String type is there. You don't have to build a Stringbuffer object, which takes more resources, to simply use constant text.