Kotlin program to print a multiline Hello World!

Views: 19   

Following program shows you how to print a multiline Hello World!.
In this program we use \n for multi lines

println("Hello \nWorld!")

Output:

Hello 
World!
On By