Publication date : 06/20/2024

Course : Kotlin, implementation

Practical course - 3d - 21h00 - Ref. OTB
Price : 1650 € E.T.

Kotlin, implementation




Kotlin is now the preferred language for Android application developers. Thanks to its near-perfect compatibility with Java, Kotlin can be used to create native Android mobile applications as well as Web applications. This course will introduce you to the Kotlin language.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. OTB
  3d - 21h00
1650 € E.T.




Kotlin is now the preferred language for Android application developers. Thanks to its near-perfect compatibility with Java, Kotlin can be used to create native Android mobile applications as well as Web applications. This course will introduce you to the Kotlin language.


Teaching objectives
At the end of the training, the participant will be able to:
Master the basics of Kotlin
Understanding Object-Oriented Programming with Kotlin
Implementing functional programming
Getting started with Android applications in Kotlin

Intended audience
Developers.

Prerequisites
Master an object-oriented programming language such as Java, C#, C++.

Course schedule

1
Implementation

  • Use command-line tools.
  • REPL, Kotlin runtime. Kotlin and Gradle.
  • IntelliJ.
Hands-on work
Code with VI and compile from the command line. Create a project in IntelliJ.

2
Kotlin basics

  • Val and Vars, type inference, basic types.
  • Comments, packages, imports.
  • String templates, ranges, loops.
  • Exception handling.
  • Class instantiation, referential and structural equality.
  • This and visibilities. Control flows.
  • Null, expression when, type hierarchy.
Hands-on work
Writing classic algorithms.

3
Object-oriented programming

  • A reminder of OOP.
  • Classes, access levels, nested classes, enums, static methods and companion objects.
  • Properties. Interfaces.
  • Inheritance. Visibility.
  • Abstract classes, sealed classes.
  • Redefinition, Polymorphism.
  • Delegation, data classes, unstructured declaration.
Hands-on work
Create an application showcasing the language's object-oriented capabilities.

4
Null-safety, reflection, annotations

  • Types nullable, smart-cast, safe null access.
  • Operator elvis, safe casting, optional.
  • Reflection. Annotations.
Hands-on work
Using annotations and runtime discovery.

5
Generics

  • Generic functions. Generic types.

6
Functions and functional programming

  • Functions and literal functions. Extension functions.
  • Default and named parameters.
  • Operator overloading. Recursion.
  • Standard, generic and pure functions.
  • Java in Kotlin, Kotlin in Java.
  • First-order functions and closures. Anonymous functions and function references.
  • Functional programming techniques. Custom DSL.
Hands-on work
Implementation of functional programming.

7
The collections

  • Class hierarchy. Arrays, Lists, Maps, Sets.
  • Read-only.
  • Index and sequences.
Hands-on work
Modification of previously used containers.

8
Kotlin and Android

  • Android Studio and a Kotlin project.
  • Basic framework classes.
  • User interfaces. The component model.
Hands-on work
Create and emulate an Android application in Kotlin.


Customer reviews
5 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
MIKAËL B.
27/10/25
5 / 5

The content of the course was very interesting and comprehensive, and exceeded my expectations.