You are viewing a single comment's thread. Return to all comments →
why u use printf instead of println
Its more of a convenience actually.
Println prints on the line and automatically shifts to the next line. Hence saving us the "/n" notation after printing anything--which we need to use when we use printf(). So you can use anything :)