Course Outline


About Kotlin

Pre-requisites

  • The participants must be comfortable with programming constructs in any one language

Duration

  • 2-5 Days

Lab Setup

  • All participants must have a laptop with Internet connectivity

Course Outline for Kotlin

Introduction to Kotlin
  • What’s the fuss around Kotlin?
  • Kotlin for JavaScript
  • Kotlin for Server Side
  • Kotlin for Android
Kotlin Basics
  • Basic
  • Basic Types
  • Defining local variables
  • Comments
  • Functions
  • Packages and Imports
  • If Expression
  • When Expression
  • For Loops
  • While Loops
  • Break and continue Loop
OOP in Kotlin
  • Object Oriented Programming – The Need
  • Association, Composition, Aggregation
  • Inheritance
  • Composite Types – Lists, Sets and Maps
  • Interfaces and Implementation
  • Design by Contract
  • Classes and Objects
  • Constructors
  • static methods
  • public, private, internal, protected class/methods
  • Objects
  • Delegation
Functional Programming in Kotlin
  • Functions as objects
  • Creating and returning functions
  • Nested functions
  • Dynamic functions
  • Anonymous(lambda) functions
  • Unit returning functions
  • Inline Functions
  • Extension Functions
  • Couroutines
  • Dictionary and Set Comprehensions
  • Collection interconversion patterns
Tools in Kotlin
  • Kapt
  • Gradle
  • Maven
  • Ant
Java Interop
  • Calling Java from Kotlin
  • Calling Kotlin from Java
Kotlin JavaScript Interaction
  • Dynamic Type
  • Calling JavaScript from Kotlin
  • Calling Kotlin from JavaScript
  • JavaScript DCE

The classroom training will be provided in Bangalore (Bengaluru), Chennai, Hyderabad or Mumbai and will be conducted in the client's premises. All the necessary hardware/software infrastructure must be provided by the client.