Kotlin for Java Developers

Go to class
Write Review

Free Online Course: Kotlin for Java Developers provided by LinkedIn Learning is a comprehensive online course, which lasts for 2-3 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. Kotlin for Java Developers is taught by Troy Miles.

Overview
  • Learn the basics of Kotlin—a concise, easy-to-use programming language from JetBrains—and explore its interoperability with Java.

Syllabus
  • Introduction

    • Welcome
    • What you should know
    • How to use the exercise files
    1. Kotlin as a Better Java
    • Why a new JVM language?
    2. Get Started with Kotlin
    • Online
    • IntelliJ IDEA
    • Set up a Kotlin programming environment
    3. Basic Kotlin Programming
    • Val vs. var
    • Type system
    • Comments
    • Control flow – if
    • Control flow – when
    • Control flow – loops
    • Control flow – advanced loops
    • Functions
    • Packages
    • Challenge: Implement fizz buzz
    • Solution: Implement fizz buzz
    4. Object-Oriented Programming
    • Classes
    • Objects
    • Interfaces
    • Generics
    • Challenge: Create a function to return the smaller of two values
    • Solution: Create a function to return the smaller of two values
    5. Java Interop
    • Use Java from Kotlin
    • Use Kotlin from Java
    6. Advanced Kotlin Features
    • Operator overloading
    • Annotations
    • Reflection
    • DSL construction
    • Destructuring
    • Challenge: Overload the plus and minus operators for a data class
    • Solution: Overload the plus and minus operators for a data class
    7. Functional Programming in Kotlin
    • Functional programming
    • Lambdas
    • Closures
    • Method chaining
    • funKTionale library
    • Composition
    • Currying
    • Partial application
    • Memoization
    • Challenge: Find the student with the shortest name
    • Solution: Find the student with the shortest name
    Conclusion
    • Next steps