Oracle
1Z0-803 · Question #97
1Z0-803 Question #97: Real Exam Question with Answer & Explanation
The correct answer is A: allows a class implementation to change without changing t he clients. See the full explanation below for the reasoning.
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
Community Discussion
No community discussion yet for this question.