Computer Science, asked by TbiaSamishta, 1 year ago

Which of the following is provided using encapsulation ?(a) Data protection (b) Data sharing(c) Separation of data and methods (d) All of these

Answers

Answered by aqibkincsem
14

Encapsulation is one of the feature and fundamental aspects of object oriented program or OOP.


It is mainly used for bundling data and methods that work on that data within one unit.


For example, class in Java is an object oriented program, and encapsulation can be used for separating of data and methods.

Answered by ksp13303
4

Answer: (a) Data protection

Explanation:

Similar questions