kotlin var vs val

In Kotlin, var and val Both keywords are used for declaring variables. var - Variable declare with var keywords are Mutable Variables, value of variable can be changed fun main()…

0 Comments

Kotlin Variable

Variable is Container to store values, every variable should be declared before using otherwise it gives syntax errors. variable name should be declared using lowerCamelCase. Variable declaration With initialization: If variable…

0 Comments

Hello World program in Kotlin

To compile and run a Kotlin program, you'll need to follow these general steps. 1. Write Your Kotlin Code: Open notepad or VSCode and Save the code in a file…

0 Comments

Kotlin Introduction

What is kotlin? Kotlin is a modern statically-typed, object-oriented language and general-purpose programming language It runs on JVM. It's compatible with Java that means java code and librraries can be…

Comments Off on Kotlin Introduction