01 / 07
Putting the work next to the data
What hurt in the first lesson of this group was that the member data and the functions using it sat in different places.
A class can hold functions too. A function written inside a class is called a method. Now the data and the work are in the same box.