You are viewing a single comment's thread. Return to all comments →
It's important to note that the '\n' newline character also adds a linefeed at the end. If you do not want the linefeed you should use "%n".
--The Java Tutorial: Formatting
Seems like cookies are disabled on this browser, please enable them to open this website
Java Output Formatting
You are viewing a single comment's thread. Return to all comments →
It's important to note that the '\n' newline character also adds a linefeed at the end. If you do not want the linefeed you should use "%n".
--The Java Tutorial: Formatting