98-361 · Question #266
Which three items are benefits of encapsulation? (Choose three.)
The correct answer is A. restricted access B. flexibility C. maintainability. 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
- Arestricted access
- Bflexibility
- Cmaintainability
- Dperformance
- Einheritance
How the community answered
(59 responses)- A71% (42)
- D20% (12)
- E8% (5)
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.