When writing programs, it’s crucial to keep track of data. This is where variables come in - they store data for future reference. A variable is a fundamental concept in software development.
Each programming language has its own way of handling variables. Kotlin, in particular, offers some unique features for handling them.
Kotlin supports various types of data, each designed to serve a particular purpose. In this lesson, you’ll also learn about comments and their significance in a Kotlin program.
In summary, this lesson covers the following topics:
Understanding the difference between var and val
Describing the purpose of data types such as Int, Double, Float, Boolean, Char, and String
Identifying the importance of code comments.
See forum comments
This content was released on May 22 2024. The official support period is 6-months
from this date.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Previous: Learning the Kotlin Language: Create Variables
Next: Instruction 1
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.