April 2018
Intermediate to advanced
322 pages
6h 57m
English
Classes are containers for variables and the operations (methods) that will affect the variables. As we discussed earlier, as ADTs implement encapsulation techniques for grouping all similar data and functions into a group, the classes can also be applied to group them. A class has three access control sections for wrapping the data and methods, and they are:
Let's go back to the definition of abstraction and information hiding in the previous section. We ...
Read now
Unlock full access