Saturday, 30 May 2020

Hello world in program in kotlin

Program:


fun main(args: Array<String>) //main method
{
        println("Hello World") //for printing statement in new line
}


Output:

Hello World

No comments:

Post a Comment