December 2017
Intermediate to advanced
260 pages
7h 34m
English
In Kotlin any class can have a property, basically a member data in Java language. And for property having the getters and setters is optional. If you have any specific behavior or actions to perform while getting or setting the value, then having getters and setters makes sense and it can be performed as shown previously.
Read now
Unlock full access