November Black Friday Python week
This week up to 80% off on Python courses. More info
Black friday is here! Get up to 80 % extra points for free! More info

Object-oriented programming in Kotlin

In this online course we'll learn the object-oriented programming in Kotlin from the first object-oriented app to advanced structures.

Lessons

Introduction to object-oriented programming in Kotlin

Lesson 1 - Introduction to object-oriented programming in Kotlin

In this tutorial, we'll introduce object-oriented programming in Kotlin, explain historical origins and terms such as classes, properties, and methods.
FreeUnratedWritten by Samuel Kodytek
First object-oriented app in Kotlin - Hello object world

Lesson 2 - First object-oriented app in Kotlin - Hello object world

In this tutorial we'll create our first object-oriented app in Kotlin - Hello object world. We'll create classes, attributes and parameterized methods.
FreeUnratedWritten by Samuel Kodytek
RollingDie in Kotlin - Constructors and random numbers

Lesson 3 - RollingDie in Kotlin - Constructors and random numbers

In this tutorial, we'll learn how to use constructors and a random number generator. We'll program a rolling die in Kotlin, as the first part of our arena.
FreeUnratedWritten by Samuel Kodytek
Reference data types in Kotlin

Lesson 4 - Reference data types in Kotlin

In this tutorial, we'll explain in detail how Kotlin works with references (objects) in memory. We'll describe the garbage collector.
FreeUnratedWritten by Samuel Kodytek
Warrior for the arena in Kotlin

Lesson 5 - Warrior for the arena in Kotlin

In this Kotlin tutorial, we'll create a warrior object (class). Its instances will battle in the arena next time.
FreeUnratedWritten by Samuel Kodytek
Arena with warriors in Kotlin

Lesson 6 - Arena with warriors in Kotlin

In this tutorial, we'll finish our arena with warriors. As a result, we'll have an object-oriented Kotlin application simulating a board game.
FreeUnratedWritten by Samuel Kodytek
Inheritance and polymorphism in Kotlin

Lesson 7 - Inheritance and polymorphism in Kotlin

In this Kotlin tutorial, we'll go over object inheritance. We'll learn how to reuse code and explain what the protected access modifier is.
FreeUnratedWritten by Samuel Kodytek
Arena with a mage in Kotlin (inheritance and polymorphism)

Lesson 8 - Arena with a mage in Kotlin (inheritance and polymorphism)

In this Kotlin tutorial, we'll learn to call base constructors, override methods and put what we know about inheritance and polymorphism to the test.
FreeUnratedWritten by Samuel Kodytek
Companion objects in Kotlin

Lesson 9 - Companion objects in Kotlin

In this Kotlin lesson, we'll learn companion objects which is an alternative of static/class properties in other languages.
FreeUnratedWritten by Samuel Kodytek
Properties in Kotlin

Lesson 10 - Properties in Kotlin

In this Kotlin tutorial, we'll declare getter and setter properties, private setters, backing properties and use syntax for even better encapsulation.
FreeUnratedWritten by Samuel Kodytek
Date and Time in Kotlin - Creating and formatting

Lesson 11 - Date and Time in Kotlin - Creating and formatting

We'll introduce new LocalDate, LocalTime, and LocalDateTime classes which are available since Java 8. We'll create instances and format output values.
FreeUnratedWritten by Samuel Kodytek
Date and Time in Kotlin - Modifying and intervals

Lesson 12 - Date and Time in Kotlin - Modifying and intervals

In this Kotlin tutorial, we'll convert between LocalDateTime and other data types, modify the inner value and introduce durations and periods.
FreeUnratedWritten by Samuel Kodytek
Date and Time in Kotlin- Parsing and comparing

Lesson 13 - Date and Time in Kotlin- Parsing and comparing

In this Kotlin tutorial we'll learn how to parse date and time using a custom pattern, compare, and introduce other classes such as Instant and time zones.
FreeUnratedWritten by Samuel Kodytek
Diary with a database in Kotlin

Lesson 14 - Diary with a database in Kotlin

In this Kotlin tutorial, we'll create an electronic diary with a database using the List collection. It'll be able to add, remove, and search entries.
FreeUnratedWritten by Samuel Kodytek
Diary with a database in Kotlin (finishing)

Lesson 15 - Diary with a database in Kotlin (finishing)

We'll create a user layer for the electronic diary in Kotlin and finish it. We'll learn how to sanitize user's inputs while parsing a date and time.
FreeUnratedWritten by Samuel Kodytek
Interfaces in Kotlin

Lesson 16 - Interfaces in Kotlin

In this tutorial, we'll learn about interfaces in Kotlin, how to auto-implement them with IntelliJ, and how to bypass multiple inheritance with them.
FreeUnratedWritten by Samuel Kodytek
Type casting and object hierarchy in Kotlin

Lesson 17 - Type casting and object hierarchy in Kotlin

We'll learn how to cast an instance to another data type using interfaces in Kotlin. We'll create an object hierarchy.
PremiumUnratedWritten by Samuel Kodytek
Abstract class, comparing and operators in Kotlin

Lesson 18 - Abstract class, comparing and operators in Kotlin

This tutorial explains abstract classes in Kotlin. We'll learn about interfaces, implement our own comparing with Comparable, and overload an operator.
PremiumUnratedWritten by Samuel Kodytek
Enumerated types and constants in Kotlin

Lesson 19 - Enumerated types and constants in Kotlin

This lesson is about enumerated types (enums) in Kotlin. We'll also learn to use their contructor and implement constants.
PremiumUnratedWritten by Samuel Kodytek
Equals(), clone() and data classes in Kotlin

Lesson 20 - Equals(), clone() and data classes in Kotlin

In this tutorial, we'll override the equals() method so it can compare objects via their internal state. Then we'll explain cloning and data classes.
PremiumUnratedWritten by Samuel Kodytek
Final OOP in Kotlin - Boxing, packages, and more

Lesson 21 - Final OOP in Kotlin - Boxing, packages, and more

In the last Kotlin tutorial, we'll go over boxing and unboxing, methods with dynamic number of parameters, package system, and nested classes.
PremiumUnratedWritten by Samuel Kodytek


 

Activities (1)