98-361 · Question #129
Which three items are benefits of encapsulation? (Choose three.)
The correct answer is A. Maintainability B. Flexibility C. restricted access. 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…
Question
Which three items are benefits of encapsulation? (Choose three.)
Options
- AMaintainability
- BFlexibility
- Crestricted access
- Dinheritance
- Eperformance
How the community answered
(26 responses)- A77% (20)
- D8% (2)
- E15% (4)
Explanation
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.
Topics
Community Discussion
No community discussion yet for this question.