The System.out stream allows a Java program to output characters to the console. It has several methods that allow printing output. Some of the significant ones are listed below.


Prints its argument to the console.
Prints output to the console using various formatting commands.
Prints its argument to the console followed by a new line.


Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn Java on Codecademy