nerdexam
Oracle

1Z0-809 · Question #41

Which three statements are benefits of encapsulation?

The correct answer is A. Allows a class implementation to change without changing t he clients B. Protects confidential data from leaking out of the objects D. Enables the class implementation to protect its invariants. You've hit your session limit · resets 5:20pm (America/New_York)

Question

Which three statements are benefits of encapsulation?

Options

  • AAllows a class implementation to change without changing t he clients
  • BProtects confidential data from leaking out of the objects
  • CPrevents code from causing exceptions
  • DEnables the class implementation to protect its invariants
  • EPermits classes to be combined into the same package
  • FEnables multiple instances of the same class to be created safely

How the community answered

(47 responses)
  • A
    74% (35)
  • C
    4% (2)
  • E
    6% (3)
  • F
    15% (7)

Explanation

You've hit your session limit · resets 5:20pm (America/New_York)

Community Discussion

No community discussion yet for this question.

Full 1Z0-809 Practice