Abstraction or Data hiding refers to the act of representing essential features without including the background details or explanation.
Example: While driving a car, we only know the essential features of the car like gear handling, steering handling, use of clutch, accelerator, and brakes etc. but we do not get into internal details like wiring, engine/motor works etc.
int set_speed(int kmh);
int get_speed(int kmh);
/*Private hidden members*/
You have viewed 1 page out of 62. Your C++ learning is 0.00% complete. Login to check your learning progress.