Classes and objects
Creating and destroying objects
Data members
Member functions
Access to class members
What is a class?
A class extends the notion of a structure in C
A class is a powerful ADT, including not onlydata
members, but alsomember functions (operators).
Each member function belongs to a particular class - the
idea is that these member functions is that they provide the
only means to access the data items.