Oracle
1Z0-808 · Question #50
1Z0-808 Question #50: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-808 to reveal the answer and full explanation for question #50. The question stem and answer options stay visible for context.
Working with Methods and Encapsulation
Question
QUESTION 61
Which statement best describes encapsulation?
Options
- AEncapsulation ensures that classes can be designed so that only certain fields and methods of an object are accessible from other objects.
- BEncapsulation ensures that classes can be designed so that their methods are inheritable.
- CEncapsulation ensures that classes can be designed with some fields and methods declared as abstract.
- DEncapsulation ensures that classes can be designed so that if a method has an argument MyType x, any subclass of MyType can be passed to that method.
Unlock 1Z0-808 to see the answer
You've previewed enough free 1Z0-808 questions. Unlock 1Z0-808 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#encapsulation#access control#data hiding#OOP principles