Kotlin DATA CLASS. Object Oriented Programming in Kotlin for Android #8.10

preview_player
Показать описание

Kotlin beginner tutorial for Android. Let's explore DATA CLASS in Kotlin. Data class has default implementation of Superclass ANY that contains method of toString(), hashCode(), equals() and also kotlin provides copy().

.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)

Free Programming courses:

Free Flutter course:

Free Android courses:

More free programming courses:

Check out my website:

Let's get in touch! [Sriyank Siddhartha]

---- Thank you for your love and support ----
Рекомендации по теме
Комментарии
Автор

This was uploaded 5 years ago and it is still bringing value! thanks sir.

faboxbkn
Автор

So simple, thanks for the explanation.

bobmurray
Автор

Thanks a lot for this video. Really helpful for interview preparation.

nikhilagrawal
Автор

very nice tutorial, channel subscribed

bisujin
Автор

So it's like the clone in java, but very simplified))

haykmkrtchyan
Автор

For data class, componentN() functions is also derived automatically. Include this as well.

ganeshanbarasu
Автор

It suppose we include .tostring() in printline and remove data from the method then what will happen.

prashantsawarwadkar
Автор

how to create array of Users and then data to it and print it

kanhaiyatulsyan
Автор

what is the use of data classes actually?

Starcsh
Автор

6:55 .. did you mean the primary constructor 'should contain' the type???

anandhu