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)

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay