Object-oriented programming in Kotlin

Kotlin OOP

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


 

Activities (1)