Introduction
We use System.out.print to show messages or results on the screen without moving to a new line.
When you want to display a message or value to the user.
When you want to show multiple pieces of information on the same line.
When you want to build a line step-by-step by printing parts one after another.
When you want to keep the cursor on the same line for further output.