C Sharp (C#) - Polymorphism and Abstract Classes
You have a list of Animal objects, some are Dogs and some are Cats. How can polymorphism help you call the correct Speak method for each animal without checking their types?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions