Oracle
1Z0-803 · Question #196
1Z0-803 Question #196: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-803 to reveal the answer and full explanation for question #196. The question stem and answer options stay visible for context.
Question
Which two actions will improve the encapsulation of a class?
Options
- AChanging the access modifier of a field from public to private
- BRemoving the public modifier from a class declaration
- CChanging the return type of a method to void
- DReturning a copy of the contents of an array or ArrayList instead of a direct reference
Unlock 1Z0-803 to see the answer
You've previewed enough free 1Z0-803 questions. Unlock 1Z0-803 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.