What is a component C++?

The components of a class are data and functions ,which are further governed by the access specifier they belong to. The 3 types of access specifiers in C++ are: Private access specifier:the data and functions defined inside this specifier are private to the class,and cannot be accessed by the outside world.

Read more