Kotlin - Introduction to Programming (KTLN1)

Programming, Kotlin

This beginner course introduces the basics of programming in Kotlin, focusing on object-oriented programming, core Kotlin language features and essential data types. You will learn operators, control flow and practical coding patterns for clear code.

Training covers design of classes and objects, methods and properties, and working with collections. You will learn exception handling, package and interface organization, Gradle builds, Java interoperability and application deployment.

Location, current course term

Contact us

Custom Customized Training (date, location, content, duration)

The course:

Hide detail
  • Introduction to the Kotlin programming language
  • Introduction to object-oriented programming
    1. Familiarization with concepts: object, inheritance, class, polymorphism
    2. Basic OOP principles
  • Introduction to the development environment (typically IntelliJ)
  • Data types, operators, control statements
    1. Loops
    2. Comparisons (===)
    3. Lambda expressions
    4. when block
    5. Properties
    6. Default and named arguments
    7. External functions
    8. Ranges
    9. Operator overloading
  • Strings and other basic data types
    1. String characteristics, string comparison, immutability
    2. String class methods
    3. Standard language arrays, constraints and benefits, creation, for-loop and iterable objects
  • Design and creation of classes, methods, objects
    1. Creating a custom class
    2. Object variables and properties, object methods
    3. Instantiating objects
    4. Visibility levels
    5. Data classes
  • Creating packages and implementing interfaces
    1. Package structure, relation between packages and directory structure during compilation and class loading, IDE role in auto-managing directories and packages
    2. Importing packages, visibility of data types
    3. Interface implementation, automatic casting to interfaces, explicit casting, meaning of the 'is' operator
  • Exception handling in programs
    1. Types of exceptions in Java and Kotlin
    2. Standard exceptions, checked vs runtime exceptions
    3. Handling exceptions
    4. The finally block
  • Build tools
    1. Overview - Maven, Gradle (typically Gradle)
    2. Dependency management and adding dependencies
  • Working with collections
    1. Mutable and immutable collections
    2. Lists, arrays
    3. Maps
  • Input and output operations
    1. Console I/O: printing, user input, Console object
    2. Program arguments, running an app from the command line
  • Null safety
    1. Lambda expressions
    2. Introduction and importance
    3. Usage with collections
  • Interoperability with Java
  • Creating and running standalone applications
Assumed knowledge:
Basic knowledge of algorithms is helpful but not required.
Schedule:
3 days (9:00 AM - 5:00 PM )
Language:

Vybrané zákaznické reference

AspectWorks, s.r.o., Petra L.
Kotlin - Introduction to Programming ( KTLN1)
"Díky konkrétním požadavkům na osnovu a malému počtu účastníků byl možný individuální přístup a probrání témat na přání."