W3cubDocs

/Kotlin

print

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

Prints the given message to the standard output stream.

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

Prints the given message 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/print.html