Course outline for Kotlin
About Kotlin
Pre-requisites for learning Kotlin
- The participants must be comfortable with programming constructs in any one language
Lab Setup
- All participants must have a laptop with Internet connectivity
Duration
- 2-5 Days
Training Mode
Online training for Kotlin
We provide:
- Instructor led live training
- Self-paced learning with access to expert coaches
- 24x7 access to cloud labs with end to end working examples
All jnaapti sessions are 100% hands-on. All our instructors are engineers by heart. Activities are derived from real-life problems faced by our expert faculty. Self-paced hands-on sessions are delivered via Virtual Coach.
Classroom training for Kotlin
Classroom sessions are conducted in client locations in:
- Bengaluru
- Chennai
- Hyderabad
- Mumbai
- Delhi/Gurgaon/NCR
Note: Classroom training is for corporate clients only
Detailed 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