Your First Kotlin Program
Create your first Kotlin program and understand the main function.
Kotlin Code
Study the example and understand each part.
fun main() {
println("Hello, Vinsoft Lab!")
println("This is my first Kotlin program.")
}
Kotlin is commonly developed using Android Studio or IntelliJ IDEA. These examples can be used as a foundation for Android application development.
Key Concept
The main() function is the entry point of a simple Kotlin application.
Expected Output / Result
Hello, Vinsoft Lab! This is my first Kotlin program.
Finished this lesson?
Mark it complete to update your course progress.