supposed we know that ViewGroup extends View.
Further we have a generic, parametrized class A<T extends View>
Question:
Why wont method C.add() accept new A<ViewGroup>() as parameter?
Shouldn’t it work, because of polymorphism?

SOLUTION:
Singning add with ? extends View lets add accept new A<ViewGroup>() as a parameter.

You signed your
addmethod as:but you probably meant: