December 2017
Beginner
372 pages
10h 32m
English
There are two ways to define the properties in a class. One we have used and seen in the preceding examples, where we defined properties such as author, title, and length. We can set and get the values of these properties using the dot syntax, as we have already seen.
The second way is it define properties using custom accessors.
Read now
Unlock full access