Explore Library
KotlinIntroduction & Core Concepts

50 items

FlashcardBeginner

println vs print

println prints text followed by a newline, while print writes text without a line break.

Question

What is the difference between println and print?

Click to reveal answer