Object-oriented Programming with Kotlin

Kotlin    |    Intermediate
  • 14 videos | 2h 3m 48s
  • Includes Assessment
  • Earns a Badge
Rating 3.4 of 7 users Rating 3.4 of 7 users (7)
A core feature of Kotlin is its ability to interoperate with Java code. Classes and objects in Kotlin are built on the same principles as in Java but Kotlin has additional features that improve upon Java's object-oriented model, including the ability to implement enum classes, sealed classes, data classes, and extension functions for third-party classes. In this course, you will be introduced to classes and objects in Kotlin. You will learn to define and use primary constructors, secondary constructors, and initializer blocks. You will also see how you can define custom getters and setters for class properties. Next, you will learn how you can inherit from classes in Kotlin and implement interfaces. You will study the implementation and use of functional interfaces and other special classes that Kotlin supports, such as enum classes, sealed classes, data classes, and companion objects. Finally, you will see how you can use extension functions to extend third-party class functionality and use coroutines for asynchronous programming.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Create classes and instantiate objects
    Create and use constructors and initializer blocks
    Create class members with different access modifiers
    Define getters and setters for variables
    Inherit from base classes
    Use base class constructors and override methods
  • Create and implement interfaces and sam interfaces
    Instantiate enum and sealed classes
    Use data classes
    Create companion objects for static functions
    Create extension functions and operators
    Run asynchronous code with coroutines
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 51s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 10m 53s
    In this video, you will learn how to create classes and instantiate objects. FREE ACCESS
  • Locked
    3.  Using Primary Constructors, Secondary Constructors, and Initializer Blocks
    12m 35s
    Find out how to create and use constructors and initializer blocks. FREE ACCESS
  • Locked
    4.  Working with Access Modifiers
    7m 2s
    Learn how to create class members with different access modifiers. FREE ACCESS
  • Locked
    5.  Defining Properties With Backing Fields and Computed Properties
    9m 47s
    During this video, discover how to define getters and setters for variables. FREE ACCESS
  • Locked
    6.  Working with Inheritance
    5m 47s
    In this video, find out how to inherit from base classes. FREE ACCESS
  • Locked
    7.  Invoking Base Class Constructors and Overriding Methods
    12m 2s
    Discover how to use base class constructors and override methods. FREE ACCESS
  • Locked
    8.  Creating and Implementing Interfaces and SAM Interfaces
    12m 3s
    In this video, you will learn how to create and implement interfaces and SAM interfaces. FREE ACCESS
  • Locked
    9.  Instantiating Enum Classes and Sealed Classes
    9m 31s
    Find out how to instantiate enum and sealed classes. FREE ACCESS
  • Locked
    10.  Using Data Classes
    11m 50s
    Learn how to use data classes. FREE ACCESS
  • Locked
    11.  Creating Companion Objects
    5m
    During this video, discover how to create companion objects for static functions. FREE ACCESS
  • Locked
    12.  Creating Extension Functions and Operator Overloading
    10m 55s
    In this video, find out how to create extension functions and operators. FREE ACCESS
  • Locked
    13.  Running Asynchronous Programming with Coroutines
    12m 32s
    Discover how to run asynchronous code with coroutines. FREE ACCESS
  • Locked
    14.  Course Summary
    2m
    In this video, we will summarize the key concepts covered in this course. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 3.8 of 6 users Rating 3.8 of 6 users (6)
Rating 4.0 of 5 users Rating 4.0 of 5 users (5)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.0 of 5 users Rating 4.0 of 5 users (5)
Rating 4.2 of 78 users Rating 4.2 of 78 users (78)
Rating 3.9 of 46 users Rating 3.9 of 46 users (46)