Explain the data classes in Kotlin?

devquora
devquora

Posted On: Feb 22, 2018

 

In programming, we use classes to hold data and these classes are called as data classes.
An object can be initialized in the data class and to access the individual parameters of these data classes, we use component functions.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Kotlin Interview Questions

    Which type of Programming does Kotlin support?

    Which type of Programming does Kotlin support?..