What methods are polymorphic in the Employee Hierarchy? How could we build a method like getRandShape() above
Fantastic news! We've Found the answer you've been seeking!
Question:
- What methods are polymorphic in the Employee Hierarchy?
- How could we build a method like getRandShape() above but for use with Employees?
- If we built a getRandomEmployee() method that returns various Employee subclass objects; Write a few lines of code that would demonstrate late binding.
Related Book For
International Marketing And Export Management
ISBN: 9781292016924
8th Edition
Authors: Gerald Albaum , Alexander Josiassen , Edwin Duerr
Posted Date: