Kotlin

Free

Learn Kotlin on your iPhone

Learn Kotlin with 40 short lessons and 200 exercises. Each lesson explains the idea, shows you an example and gets you practicing, with an AI tutor that gives hints when you get stuck.

lessons
40
exercises
200
Beginner
10
Intermediate
15
Advanced
15
Syntax, the 3D SyntaxQuest mascot

What is Kotlin used for?

Kotlin is Google’s recommended language for Android apps. It is concise, modern and interoperable with Java, and it is also used for backend and cross-platform projects.

How the course starts

  1. 01

    Hello World

    Your first Kotlin program.

  2. 02

    Variables and Types

    Learn to declare variables with val and var.

  3. 03

    Basic Types

    Int, Double, Boolean, String and Char.

  4. 04

    String Templates

    String interpolation with $ and ${}.

  5. 05

    Input and Output

    Read user input and show results with print, println and string formatting.

  6. +35 more lessons in the app

    The full syllabus, the explanations and the practice are in the app.

Kotlin course syllabus

Beginner 10 lessons

  1. Hello World
  2. Variables and Types
  3. Basic Types
  4. String Templates
  5. Input and Output
  6. If/Else Conditionals
  7. When Expression
  8. For Loops
  9. While and Do-While
  10. Ranges and Progressions

Intermediate 15 lessons

  1. Basic Functions
  2. Default Parameters
  3. Lambdas
  4. Extension Functions
  5. Higher-Order Functions
  6. Lists
  7. Maps
  8. Functional Operations
  9. Sequences
  10. Sets and Operations
  11. Classes and Constructors
  12. Data Classes
  13. Inheritance and Interfaces
  14. Sealed and Enum Classes
  15. Object and Companion Object

Advanced 15 lessons

  1. Nullable Types
  2. Smart Casts
  3. Scope Functions
  4. Delegation
  5. Advanced Null Handling
  6. Intro to Coroutines
  7. Suspend Functions
  8. Flows
  9. Dispatchers and Context
  10. Channels and Select
  11. Generics
  12. Kotlin DSLs
  13. Inline and Crossinline
  14. Advanced Patterns
  15. Multiplatform and Annotations

A question from the course

Variables and Types

Declare an immutable variable of type String:

___ name: String = "Kotlin"

The answer, the explanation and many more exercises are waiting for you in the app.

Download

Questions about the course

Is the Kotlin course free?

Yes. Kotlin is one of SyntaxQuest's free courses: download the app and start without paying.

Do I need experience to learn Kotlin?

No. The course starts at beginner level (10 lessons) and moves on to intermediate and advanced at your pace.

How long is the Kotlin course?

It has 40 lessons and 200 exercises. Lessons are short, so you can move forward a few minutes a day; adaptive learning brings back what you are about to forget.