You are viewing a single comment's thread. Return to all comments →
printf means printing with formatiing. While println means printing something in a specific line.
Printing with printf will end in same line, while println will take you to next line after the printing is done.
Hope that helps....
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 →
printf means printing with formatiing. While println means printing something in a specific line.
Printing with printf will end in same line, while println will take you to next line after the printing is done.
Hope that helps....