I have a basic question regarding assignment of a list of subclass to a list of superclass.
So I have something like the following:
Class B extends
Because generics are strict type safe.
You can have
List extends A> aList = bList;
It says aList can hold list of any type which is an A
aList
A