Kotlin

Kotlin Print And Println1 min read

Kotlin Code:

Output:




As like System.out.println() in java println is used to print output to screen in Kotlin.

These two functions println() and print() functions to send output to the standard output in Kotlin.

print() – prints string inside the quotes.

println() – As like print() it will print the string inside the quote and the cursor moves to the beginning of the next line.

Refer kotlin program to get more understanding about print and println.

Leave a Comment