Android 12 Developer Preview is here! Try it out, and give us your feedback!

Lesson 3: Classes and Objects

Learn about classes, objects, and inheritance in Kotlin. Create small programs as you learn about abstract classes, interfaces, and interface delegation.

 

Using Classes and Objects in Kotlin

Codelab

Create a Kotlin program and learn about classes and objects in Kotlin.

Pairs/triples, collections, constants, and writing extension functions

Codelab

Learn about a number of different useful features in Kotlin, including pairs, collections, and extension functions.

Quiz

Earn your badge for completing Lesson 3: Classes and Objects.