SupertypeIncompatibleWithSubtype
DRAFT

Misconception:

A variable of a supertype cannot hold a reference to an object of a subtype as the two types are different.

Incorrect

A variable of a supertype cannot reference an object of a subtype

Correct

A variable of a supertype can reference an object of a subtype

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.