0

Inheritance in Java.

As we know, each class or base class is descendent or inherited from class Object. Am I right?

17th May 2023, 4:36 AM
Oliver Pasaribu
3 odpowiedzi
+ 2
yes you are correct. Every class is implicitly or explicitly derived from the Object class, which is the root of the class hierarchy.
17th May 2023, 4:42 AM
observer
observer - avatar
+ 2
True
17th May 2023, 5:59 AM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 1
Inheritance is like making a subclass bigger.
1st Sep 2023, 10:58 PM
D_Stark
D_Stark - avatar