DEV Community

AryantKumar
AryantKumar

Posted on

INTRODUCTION TO KOTLIN CHEAR SHEET

main()

fun main()
println("Hello Developers!")
// Code goes here
}

Print Statement

println("Nameste, Developers!")
print("Let me ")
print("guide you through the Kotlin Basic Cheat Sheet")

/*
Print:
Nameste, Developers!
Let me guide you through Kotlin Basic Cheat Sheet

Notes

// this is a single line comment

/*
this
note
for
many
*/

Execution Order

fun main() {
println("I will be printed First")
println("I will be printed Second")
println("I will be printed Third")
}

Next will be looking on cheat Sheet for Kotlin Data types and variables

Top comments (0)

Sentry growth stunted Image

If you are wasting time trying to track down the cause of a crash, it’s time for a better solution. Get your crash rates to zero (or close to zero as possible) with less time and effort.

Try Sentry for more visibility into crashes, better workflow tools, and customizable alerts and reporting.

Switch Tools