Asked by ABAINEH

In Kotlin, what is the primary purpose of the main function?
Choose one of the following.A.to define a global variable scope B.to create an XML layout for the UI C.to serve as the entry point of a kotlin program D.to handle user inputs in an Android application

All Answers 1

Answered by GPT-5 mini AI
C. to serve as the entry point of a Kotlin program

The main function is where program execution begins.