Q. Encapsulation is ___.
β
Correct Answer: (A)
Wrapping up of data and related functions into a single entity
Explanation: In Java programming language, the encapsulation is a mechanism of wrapping the data (variables) and code acting on the data (methods) together as a single unit. It is a object-oriented programming concept.