×

PRABEESH R K's video: Kotlin Tutorial - 29 - Data Class

@Kotlin Tutorial - 29 - Data Class
In this video we learn about how to use a data class in Kotlin Program. The class that used for the purpose of saving data is called data class. Data class cannot be open,abstract,inner or sealed class Primary constructor of the data class can have at-least one parameter Parameters of the primary constructor must be specified as either read only (val) or read-write (var) A data class can extend other classes or implement an interface. When you create a data class the compiler automatically generates copy(),equals(), hashcode(),toString() and componentN() functions for the parameters of the primary constructor. Because of presence of these functions, data classes helps us to avoid boilerplate codes. Like my Facebook page : https://www.facebook.com/codeglympse Subscribe My YouTube channel : http://www.youtube.com/ticoontechnologies

8

2
PRABEESH R K
Subscribers
101K
Total Post
765
Total Views
177.7K
Avg. Views
3.1K
View Profile
This video was published on 2019-04-29 10:26:30 GMT by @PRABEESH-R-K on Youtube. PRABEESH R K has total 101K subscribers on Youtube and has a total of 765 video.This video has received 8 Likes which are lower than the average likes that PRABEESH R K gets . @PRABEESH-R-K receives an average views of 3.1K per video on Youtube.This video has received 2 comments which are lower than the average comments that PRABEESH R K gets . Overall the views for this video was lower than the average for the profile.

Other post by @PRABEESH R K