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;