Hello, World! (In a Function)
Printing the Class of Numbers
Basic Math
Raw Strings
trimMargin()
Characters
Content and Instance Equality
Variables
Typed Variables
Read-Only Variables
Increment and Decrement Operators
Augmented Assignments
Unary Operators
Type Conversions
String Interpolation
String Interpolation with Expressions
Functions with Parameters
Functions with Return Types
Local Variables
Expression Bodies
Default Parameter Values
Named Parameter Values
Lists
Maps
Accessing Elements via []
Mutable Lists
Lambda Expressions
Lambda Expressions and Parameters
forEach()
forEach() is a Function
filter()
map()
Varargs
if
Single-Line if
when
when Works with Any Type
when Without an Expression
when with Commas
when with Expressions for Branches
if as an Expression
when as an Expression
while
break Statements
continue Statements
Classes and Instances
Adding Functions to Classes
Adding Properties to Classes
Constructors
Formal Constructor Declaration
Init Block
Secondary Constructors
Inheritance
Inheritance and Constructors
Checking Inheritance Via is
is and when
Inheritance and Overriding Functions
Chaining to Superclass Functions
Manual Casts
Smart Casts