View Single Post
Old Nov 27th, 2005, 5:17 PM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
"\n" is a newline character. I'm not up on Java, so the suggestion may or may not be valid. If the output buffer isn't guaranteed to be flushed until a new println appears, then you'd want to leave it as you have it, since the last println would guarantee that the previous message is output. My guess is that your advisor is unaware of the possible implications, also.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote