Oracle
1Z0-815 · Question #64
Which statement best describes encapsulation?
The correct answer is A. Encapsulation ensures that classes can be designed so that only certain fields and methods of an. See the full explanation below for the reasoning.
Question
Which statement best describes encapsulation?
Options
- AEncapsulation ensures that classes can be designed so that only certain fields and methods of an
- 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
- DEncapsulation ensures that classes can be designed so that if a method has an argument
How the community answered
(41 responses)- A71% (29)
- B17% (7)
- C7% (3)
- D5% (2)
Community Discussion
No community discussion yet for this question.