To define a function in Kotlin, fun keyword is used. Then comes the name of the function (identifier) . Here, the name of the function is callMe . In the above program, the parenthesis ( ) is empty.
To define a function in Kotlin, fun keyword is used. Then comes the name of the function (identifier) . Here, the name of the function is callMe . In the above program, the parenthesis ( ) is empty.