A class encapsulation ______
Answers
Answered by
1
Wrapping up the data and its associated functions in a single unit is called Data Encapsulation. It is implemented through Data abstraction.
e.g. class
e.g. class
BrainlyHulk:
Maek as brainliest
Answered by
0
Answer:
A class encapsulation is the system of wrapping data and functions into a single unit.
Explanation:
The data from the member functions cannot be accessed directly. If we want to read item in an object that is an instance of the class, we call a member function in the object. It will read the item and return the value to us. We cannot access the data directly.
Similar questions
Math,
7 months ago
Math,
7 months ago
Physics,
1 year ago
English,
1 year ago
Social Sciences,
1 year ago