Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Kotlin for Java Developers

Kotlin for Java Developers

2h 44mAdvanced2020-11-09

Authors

Troy Miles

Troy Miles

Award-winning Software Engineer, Speaker, and Author

Course details

Kotlin is a concise, easy-to-use programming language from JetBrains that's 100% compatible with Java, and is an officially supported development language for Android. With its clean syntax and ability to eliminate most null pointer exceptions, Kotlin makes coding easier, faster, and generally more fun. In this course, learn the basics of Kotlin programming and explore its interoperability with Java. Troy Miles explains why you might want to learn this language, and walks through some of its key features, including operator overloading, generics, and lambdas. Plus, Troy shows how to call Java libraries from Kotlin—and vice versa—and covers functional programming in Kotlin.

Learning objectives
Kotlin as a better Java
Setting up a Kotlin programming environment
Val vs. var
Understanding basic Kotlin programming concepts
Object-oriented programming
Using Java from Kotlin
Using Kotlin from Java
Annotations, reflection, and DSL construction
Functional programming in Kotlin

Skills covered

KotlinJavaOracleProgramming LanguagesOpen SourceSoftware Development

Concepts

0. Introduction

  • 01 - Welcome
  • 02 - What you should know
  • 03 - How to use the exercise files

1. Kotlin as a Better Java

  • 04 - Why a new JVM language

2. Get Started with Kotlin

  • 05 - Online
  • 06 - IntelliJ IDEA
  • 07 - Set up a Kotlin programming environment

3. Basic Kotlin Programming

  • 08 - Val vs. var
  • 09 - Type system
  • 10 - Comments
  • 11 - Control flow if
  • 12 - Control flow when
  • 13 - Control flow loops
  • 14 - Control flow advanced loops
  • 15 - Functions
  • 16 - Packages
  • 17 - Challenge - Implement fizz buzz
  • 18 - Solution - Implement fizz buzz

4. Object-Oriented Programming

  • 19 - Classes
  • 20 - Objects
  • 21 - Interfaces
  • 22 - Generics
  • 23 - Challenge - Create a function to return the smaller of two values
  • 24 - Solution - Create a function to return the smaller of two values

5. Java Interop

  • 25 - Use Java from Kotlin
  • 26 - Use Kotlin from Java

6. Advanced Kotlin Features

  • 27 - Operator overloading
  • 28 - Annotations
  • 29 - Reflection
  • 30 - DSL construction
  • 31 - Destructuring
  • 32 - Challenge - Overload the plus and minus operators for a data class
  • 33 - Solution - Overload the plus and minus operators for a data class

7. Functional Programming in Kotlin

  • 34 - Functional programming
  • 35 - Lambdas
  • 36 - Closures
  • 37 - Method chaining
  • 38 - funKTionale library
  • 39 - Composition
  • 40 - Currying
  • 41 - Partial application
  • 42 - Memoization
  • 43 - Challenge - Find the student with the shortest name
  • 44 - Solution - Find the student with the shortest name

Conclusion

  • 45 - Next steps

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
Zarinpal
Zibal