911 Views
In our last Kotlin article, we looked at class and object . Today, we'll first talk about constructors and then turn to the subject of inheritance. There are two types of constructors in Kotlin: the primary and the secondary. A Kotlin class can have one primary constructor and several secondary constructors.
0 comments