W3cubDocs

/Kotlin

println

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
fun println()

Prints the line separator to the standard output stream.

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
fun println(message: Any?)

Prints the given message and the line separator to the standard output stream.

Platform and version requirements: JVM (1.0)
fun println(message: Int)
Platform and version requirements: JVM (1.0)
fun println(message: Long)
Platform and version requirements: JVM (1.0)
fun println(message: Byte)
Platform and version requirements: JVM (1.0)
fun println(message: Short)
Platform and version requirements: JVM (1.0)
fun println(message: Char)
Platform and version requirements: JVM (1.0)
fun println(message: Boolean)
Platform and version requirements: JVM (1.0)
fun println(message: Float)
Platform and version requirements: JVM (1.0)
fun println(message: Double)
Platform and version requirements: JVM (1.0)
fun println(message: CharArray)
Platform and version requirements: Native (1.3)
fun println(message: String)

Prints the given message and the line separator to the standard output stream.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io/println.html