Classes

Like any other object-oriented programming languages that have classes, Kotlin is no exception. But features of dealing with classes are exceptional. Kotlin classes are different to traditional programming languages. It has a constructor in the class header itself. It has a different way of passing a parameter of a superclass and a lot more.

Get Kotlin Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.