Polymorphism allows objects of different types to be treated as objects of a common supertype.
← Core Java theorytheory 0/50 · 0%
OOP · easy
12. Polymorphism
One interface, multiple forms.
Check your understanding
1. Which is a type of polymorphism?
2. Can a subclass object be assigned to a superclass variable?