Question: If we have some method XYZ() in class SubA and another XYZ() in class SubB that can be invoked over a collection of the parent


If we have some method XYZ() in class SubA and another XYZ() in class SubB that can be invoked over a collection of the parent class Parent, e.g.: ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
