println

fun println(x: String?)

Prints a String and then terminates the line. This method behaves as though it invokes .print and then .println.

Parameters

x

the String value to be printed


fun println()

Terminates the current line by writing the line separator string. The line separator is System.lineSeparator and is not necessarily a single newline character ('\n').