0
How object is the base class for all.?
If object is a base class for all but we know that multiple inheritances not possible with classes than how object is the base class for all?
1 Antwort
+ 1
Object is base class to other sub classes through single inheritance. In the absence of any other explicit superclass, every class is implicitly a subclass of Object.
Besides, multiple inheritance is possible through Interfaces.