When I try to override a method that takes a List, I get the following compile error.
List
Multiple markers at this
List and List are different types and getname(List num) and getname(List num) are methods with different signatures. So the second doesn't override the first. So child can not extends parent whit this method.
getname(List num)
child
parent