August 2018
Beginner
178 pages
4h 56m
English
Java classes can be declared with final keyword, which prohibits other classes from inheriting from that class. Kotlin doesn't have this modifier, because all classes are implicitly final in Kotlin.
If you want to make your class extendable, that is, make it possible for other classes to inherit from your class, you have to explicitly mark it with the open keyword.
Read now
Unlock full access