Computer Science, asked by zoshoppers, 1 year ago

A class encapsulation ______

Answers

Answered by BrainlyHulk
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

BrainlyHulk: Maek as brainliest
Answered by cyrusbishop
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