plain old system.out question
Posted
by mac
on Stack Overflow
See other posts from Stack Overflow
or by mac
Published on 2010-06-14T22:52:15Z
Indexed on
2010/06/14
23:02 UTC
Read the original article
Hit count: 168
java
|printstream
I was looking at someone's code and saw that he repeatedly declared
PrintStream out = System.out;
and later called
out.println("blah");
I actually thought this was kind of neat. Is this a common practice? Was he just being fancy?
© Stack Overflow or respective owner