Question: What is encapsulation in C + + ? Accessing private members from outside the class Hiding data within a class and providing access only through
What is encapsulation in
Accessing private members from outside the class
Hiding data within a class and providing access only through public methods
Inheritance of properties from a base class
Breaking down a class into smaller units
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
