Java Output Methods
Output Methods
The System.out stream, short for "output", is used together with different methods to output values or print text to the console:
| Method | Description |
|---|---|
| print() | Prints text or values the console |
| printf() | Prints formatted text or values to the console |
| println() | Prints text or values to the console, followed by a new line |