This looks like an overload, not an override.
The arguments for the methods are different, despite the fact you're usng Lists.
The Generic types are different, and thus they take different types of Lists.
I don't know why it wont complile.
You should also indicate the compiler error you get, and 'm sure someone in the forum can help.
Joined: Sep 18, 2009
This is the compiler error:
The method say(List<Boolean>) of type Child has the same erasure as say(List) of type Parent but does not override it Test.java
I might be wrong but think this shouldn't be an overload because for the compiler both are List<E>, aren't they?