Skip to content

Glossary: Kotlin Basics

subclass

Also written: subclasses

A class that is a kind of another class, such as `Card : Payment()`. A `Card` can go wherever a `Payment` is expected.

Where the book teaches it

Related terms

sealed classinheritance