Data Types & Variables
Learn about variables and the various data types that are supported in Kotlin.
StartKey Concepts
Review core concepts you need to learn to master this subject
Mutable Variables
Immutable Variables
Type Inference
String Concatenation
String Templates
Built-in Properties and Functions
Character Escape Sequences
Arithmetic Operators
Mutable Variables
Mutable Variables
var age = 25
age = 26
A mutable variable is declared with the var
keyword and represents a value that is expected to change throughout a program.
Data Types & Variables
Lesson 1 of 3
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory