MultipleSuperclasses
DRAFT

Misconception:

Java allows multiple inheritance of classes. This can also be seen in Javadoc, which lists all known subclasses of a class.

Incorrect

A class can have multiple superclasses

Correct

Correction
Here is what's right.

Wait! Javadoc pages show “all known subclasses of a class”. They do not show “all known superclasses”. In Java, a class can only have one superclass.

Language

Java

Concepts

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.