Given a simple inheritance hierarchy: Person -> Student, Teacher, Staff Say I have a list of Persons, L. In …
I have a base class Base, and class A/B that inherits from it. public class Base { int x; } public …