When you choose to use an array to represent data, you are making a design decision
But design decisions should go beyond how data is stored; they should also involve how the data is used
Often, you’ll find it profitable to write specific functions to handle specific data operations
(The profits here include increased program reliability, ease of [...]
You can declare class members
Whether they are data items or member functions
Either in the public or the private section of a class
But because one of the main precepts of OOP is to hide the data
Data items normally go into the private section
The member functions that constitute the class interface
Go into the public section
Otherwise, you can’t [...]