Oracle
1Z0-815 · Question #46
Which three statements describe the object-oriented features of the Java language?
The correct answer is B. A subclass can inherit from a superclass. C. Objects can share behaviors with other objects. E. Object is the root class of all other objects. See the full explanation below for the reasoning.
Question
Which three statements describe the object-oriented features of the Java language?
Options
- AObjects cannot be reused.
- BA subclass can inherit from a superclass.
- CObjects can share behaviors with other objects.
- DA package must contain more than one class.
- EObject is the root class of all other objects.
- FA main method must be declared in every class.
How the community answered
(32 responses)- A3% (1)
- B84% (27)
- D9% (3)
- F3% (1)
Community Discussion
No community discussion yet for this question.