Home » Microsoft » 98-361 » Which three items are benefits of encapsulation?
Which three items are benefits of encapsulation? (Choose three.)
A. maintainability
B. flexibility
C. restricted access
D. inheritance
E. performance
Correct Answer: ABC
Explanation/Reference:
Encapsulation is the packing of data and functions into a single component.
In programming languages, encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination thereof:
* A language mechanism for restricting access to some of the object’s components.
* A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data.
Incorrect:
not D: Encapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and abstraction.