Which three statements describe the object-oriented fea…

Which three statements describe the object-oriented features of the Java language?

Which three statements describe the object-oriented features of the Java language?

A.
Objects cannot be reused.

B.
A subclass can inherit from a superclass.

C.
Objects can share behaviors with other objects.

D.
A package must contain more than one class.

E.
Object is the root class of all other objects.

F.
A main method must be declared in every class.

Explanation:
http://www.javaworld.com/article/2075459/java-platform/java-101–object-oriented-languagebasics–part-5–object-and-its-methods.html (see the sub title, Object is root of all classes not all other objects)



Leave a Reply 2

Your email address will not be published. Required fields are marked *