nerdexam
Microsoft

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…

Understanding Object-Oriented Programming

Question

Which three items are benefits of encapsulation? (Choose three.)

Options

  • AMaintainability
  • BFlexibility
  • Crestricted access
  • Dinheritance
  • Eperformance

How the community answered

(26 responses)
  • A
    77% (20)
  • D
    8% (2)
  • E
    15% (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

#encapsulation#maintainability#flexibility#access control

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice