Oracle
1Z0-809 · Question #34
Which two reasons should you use interfaces instead of abstract classes?
The correct answer is B. You expect that unrelated classes would implement your interfaces. You've hit your session limit · resets 5:20pm (America/New_York)
Question
Which two reasons should you use interfaces instead of abstract classes?
Options
- AYou expect that classes that implement your interfaces have many common methods or fields, or require access modifiers other than public.
- BYou expect that unrelated classes would implement your interfaces.
- CYou want to share code among several closely related classes.
- DYou want to declare non-static on non-final fields.
- EYou want to take advantage of multiple inheritance of type.
How the community answered
(55 responses)- A11% (6)
- B80% (44)
- C2% (1)
- D5% (3)
- E2% (1)
Explanation
You've hit your session limit · resets 5:20pm (America/New_York)
Community Discussion
No community discussion yet for this question.