Question: What Object Oriented Programming principle enables us to put Dog, Cat, and Animal objects in an array list of type Animal? Polymorphism O Encapsulation
What Object Oriented Programming principle enables us to put Dog, Cat, and Animal objects in an array list of type Animal? Polymorphism O Encapsulation Abstraction Inheritance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
