println()
Prints the value to the console and moves to the next line.
Syntax
println(value)
Description
Prints the given value and adds a newline. Unlike print, println moves to the next line. The most commonly used output command.
Example
Loading editor…
Expected output
Hello 42
When to use?
Showing results, debugging.