Object-Oriented Programming in Kotlin
Kotlin is an object-oriented language in the same style as Java, but also offers features found in newer languages like C# and TypeScript. This course will teach you to write a Kotlin application and make use of all the language.
Kotlin is an object-oriented language, and if you know a language like Java or C#, then you will know about classes, interfaces, and inheritance. However, Kotlin is expressive and extensible in ways that those older languages are not. In this course, Object-Oriented Programming in Kotlin, you’ll learn to write applications in Kotlin using the object-oriented features of the language. First, you’ll explore how to define a class in Kotlin, and then add methods and properties. Then, you’ll see how properties work, method overloading, visibility, and initializing objects at creation time. Next, you’ll look at primary and secondary constructors, using the init method, and modeling data by using abstract classes, interfaces, and inheritance, including how interfaces can help you test your code. Finally, you’ll dive into other class types such as sealed classes and data classes and how these make it easier to understand the meaning in our code. When you’re finished with this course, you’ll have the skills and knowledge of Kotlin needed to develop Kotlin applications.
Author Name: Kevin Jones
Author Description:
A long time ago in a university far, far away Kevin fell in love with programming. Initially on the university’s DEC20 computer doing BASIC and Pascal and a little bit of Fortran. His first job had him writing batch PL/1 on an IBM mainframe where he also discovered the arcane delights of JCL. He soon realized the multiuser systems were not for him after discovering the delights of dBase IV on IBM PCs. From here it was all downhill as he became addicted to C and the Windows API. Just missing out … more
Table of Contents
- Course Overview
1min - Introduction to Object-Oriented Programming in Kotlin
57mins - Initializing Classes
45mins - Derivation
41mins - Abstraction with Abstract Base Classes and Interfaces
51mins - Testing
14mins - Objects and Companion Objects
20mins - Primitive Obsession and Value Classes
18mins - Data Classes
24mins - Enumerations, Sealed Interfaces, and Sealed Classes
39mins - Generics
57mins
There are no reviews yet.