January 2020
Intermediate to advanced
470 pages
11h 13m
English
When following the steps provided at the end of the previous section, you'll notice that every time you want to update a field, things become troublesome and prone to errors. Let's use a common technique to add a pair of functions, getters, and setters. These are as follows:
Let's build our getters and setters.
Read now
Unlock full access