Pustaka Taratsa
KOTLIN: Abstract Class

KOTLIN: Abstract Class

Penulis: Onno Widodo Purbo

Sumber: https://www.tutorialspoint.com/kotlin/kotlin_abstract_classes.htm A Kotlin abstract class is similar to Java abstract class which can not be instantiated. This means we cannot create objects of an abstract class. However, we can inherit subclasses from a Kotlin abstract class. A Kotlin abstract class is declared using the abstract keyword in front of class name. The properties and methods