previous | start | next

Output

System.out is an instance of type PrintStream

PrintStream methods

The first two are designed to convert the argument to a suitable character string.

The second inserts newline in the output.

The third only outputs a newline.

The printf method provides formatting of the output.

The number of parameters to printf depends on the number of conversion specifications in the first parameter - the format string.



previous | start | next