Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Kotlin Essential Training

via LinkedIn Learning

Overview

Get up and running with Kotlin. This course provides a comprehensive overview of what developers need to create command-line programs using the Kotlin programming language.

Syllabus

Introduction
  • Welcome
  • What you should know
1. Kotlin Development Preparations
  • Intellij IDEA installation and quick start guide
2. Data Types
  • Numeric data types
  • Mutable and immutable variables
  • Boolean and char data types
  • String tricks and traps
3. Control Flow
  • How statements differ from expressions
  • The if expression
  • The when expression
  • Loops with when expressions
  • Nulls and smart casting
  • Challenge: Replace an if expression with a when
  • Solution: Replace an if expression with a when
4. Collections and Sequences
  • When to use arrays
  • When to use lists
  • Sets best practices
  • How to use maps as dictionaries
  • Use collection operations
  • Sequences used in asynchronous data
  • Challenge: Remove duplicates from a list
  • Solution: Remove duplicates from a list
5. Input, Output, and Files
  • Command-line arguments
  • Get user input
  • Read and write file data
  • Challenge: Create and filter a list from a text file
  • Solution: Create and filter a list from a text file
6. Functions
  • Functions
  • Lambda functions
  • Anonymous functions
  • Local functions
  • Challenge: Pass a function to another function
  • Solution: Pass a function to another function
7. Classes, Objects, and Interfaces
  • Kotlin classes
  • Constructors and init block
  • The beauty of data classes
  • Class composition with interfaces
  • Companion objects
  • Challenge: Count instances of a class
  • Solution: Count instances of a class
8. Debug Your Kotlin Code
  • Set unconditional and conditional breakpoints
  • Watch variables and change their values
9. Harness the Power of Coroutines
  • The need for coroutines
  • How to handle canceled and timed-out tasks
  • Challenge: Read a file in the background
  • Solution: Read a file in the background
Conclusion
  • Next steps

Taught by

Troy Miles

Reviews

4.6 rating at LinkedIn Learning based on 303 ratings

Start your review of Kotlin Essential Training

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.