Answer the question
In order to leave comments, you need to log in
What two classes do not inherit from Object?
What two classes do not inherit from Object?
Answer the question
In order to leave comments, you need to log in
The answer is indeed found faster by a search engine.
1) The Object class does not inherit from itself, since it is a superclass. Other classes inherit from it.
Was that really the question?
What two classes do not inherit from Object?
enum
also not inherited from Object, because it is inherited from Enum.
1. The answer is easily found by a search engine.
2. There is only 1 class that is not inherited from object - this is object itself
3. Interfaces are also not inherited from object, but when implementing an interface, an object will also inherit object
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question