Is there a reason to prefer either string concatenation or invoking toString when converting objects to string representations?
Does string concatenation cause the object's toString method to be invoked?
String s;
Properties p = System.getProperties();
s = p.toString();
s = "" + p;
StringBuilder.p.toString()doesn't involve a new object."" + pinvolves a new object. (Though I would imagine the""could be removed by a smart compiler.) After that, it's all opinion, what looks better.