Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Introduction to Kotlin

Course Summary

The Introduction to Kotlin training course will introduce students to the Kotlin programming language. Through a series of interactive lectures and labs, students will develop an awareness of the libraries and tools available specifically for Kotlin and Android consumption, and its interoperability with existing Java code and libraries.

The course begins by providing an overview of Kotlin and introduction to Intellij IDEA then moves into basic type systems. Next, students will also learn about control flow, operators and expressions and classes, and inheritance. The course concludes with students exploring abstract, inner, and anonymous classes as well as functions.

This course is intended for those with little or no prior knowledge of Kotlin. It is the perfect prerequisite for the Intermediate Kotlin course.

Purpose
Learn the Kotlin programming language and begin programming in it.
Audience
Software Developers looking to adopt Kotlin.
Role
Software Developer - Web Developer
Skill Level
Introduction
Style
Fast Track - Learning Spikes - Workshops
Duration
2 Days
Related Technologies
Java | Android | Kotlin

 

Productivity Objectives
  • Write simple programs using the Kotlin language.
  • Utilize libraries and tools specifically for Kotlin and Android consumption.
  • Describe Java interoperability with existing code and libraries.

What You'll Learn:

In the Introduction to Kotlin training course, you'll learn:
  • What is Kotlin?
    • History of Kotlin
    • Introduction to Intellij IDEA
    • First Kotlin program (Hello World)
      • Comments
      • Function syntax
      • No semicolons
      • String interpolation
      • Print statements
      • Packages/import statements
  • Basic type system
    • Val vs Var
      • lateinit
    • Primitive types
      • Int, Double, Long -> No implicit casting (For ex. addition)
      • list/array/set literals
    • Nullability
      • ? vs !!
      • Elvis operator
      • Let, Apply, Also
  • Control Flow
    • Functions in Kotlin
    • Default Parameters
    • Single Line Expressions
    • If/Else
      • Smart Casting
      • Regular casting
    • Loops
      • For Loop
      • For each
      • Range
      • Map
      • Filter
    • When statement
  • Operators and Expressions
    • Assignment Operator
    • Arithmetic Operator
    • Relational Operators
    • Logical Operators
    • Increment and Decrement Operators
    • Operate-Assign Operators (+=,etc.)
    • The Conditional Operator
    • Operator Precedence
    • Type Conversion in Kotlin
  • Classes and Inheritance
    • Any
  • Primary/Secondary Constructors
  • Init block
  • This Keyword
  • Creating Instances of a Class
  • Properties and Fields
  • Companion Object
  • Interfaces
  • Visibility Modifiers (Private, Public, Protected, Internal)
  • Abstract Classes
  • Inner Classes
  • Anonymous Class
  • Functions
    • Calling Functions
    • Defining Functions
    • Function Parameters
    • Variable argument parameters functions
    • Overriding functions
  • Data Classes
  • Sealed Class
  • Object
“I appreciated the instructor's technique of writing live code examples rather than using fixed slide decks to present the material.”

VMware

Dive in and learn more

When transforming your workforce, it's important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By filling out this form and clicking submit, you acknowledge our privacy policy.