I am wondering if there is any performance differences between
String s = someObject.toString(); System.out.println(s);
and
System.out.pr
There is no* code critical enough that the difference between your two samples makes any difference at all. I encourage you to test this; run both a few million times, and record the time taken.
Pick the more readable and maintainable form.
*
Exaggerating for effect. If you have code critical enough, you've studied it to learn this.