Object-oriented Programming with Kotlin
Kotlin
| Intermediate
- 14 videos | 2h 3m 48s
- Includes Assessment
- Earns a Badge
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 courseCreate classes and instantiate objectsCreate and use constructors and initializer blocksCreate class members with different access modifiersDefine getters and setters for variablesInherit from base classesUse base class constructors and override methods
-
Create and implement interfaces and sam interfacesInstantiate enum and sealed classesUse data classesCreate companion objects for static functionsCreate extension functions and operatorsRun asynchronous code with coroutinesSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 51sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
10m 53sIn this video, you will learn how to create classes and instantiate objects. FREE ACCESS
-
12m 35sFind out how to create and use constructors and initializer blocks. FREE ACCESS
-
7m 2sLearn how to create class members with different access modifiers. FREE ACCESS
-
9m 47sDuring this video, discover how to define getters and setters for variables. FREE ACCESS
-
5m 47sIn this video, find out how to inherit from base classes. FREE ACCESS
-
12m 2sDiscover how to use base class constructors and override methods. FREE ACCESS
-
12m 3sIn this video, you will learn how to create and implement interfaces and SAM interfaces. FREE ACCESS
-
9m 31sFind out how to instantiate enum and sealed classes. FREE ACCESS
-
11m 50sLearn how to use data classes. FREE ACCESS
-
5mDuring this video, discover how to create companion objects for static functions. FREE ACCESS
-
10m 55sIn this video, find out how to create extension functions and operators. FREE ACCESS
-
12m 32sDiscover how to run asynchronous code with coroutines. FREE ACCESS
-
2mIn 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.