Java doesn’t support multiple inheritance but implicitly every class in java extends Object and allows one more [duplicate]

Your class that extends that other class, but it extends Object, too, so you’re still in one line of inheritance, not two.

Leave a Comment