Which statement is correct? Encapsulation
Correct answer
B. Means bundling data and methods together and restricting direct access to the data
B. Means bundling data and methods together and restricting direct access to the data
Encapsulation means bundling data and methods together and restricting direct access to the data.
Asked in: Engineering Computer Engineering Practice
https://en.wikipedia.org/wiki/Object-oriented_programmingNot sure why the answer is B? Ask here and get an explanation.