Overriding Generics



Does anyone know why one can't override the following method

public List<Foo> getFooList()

with something like this

public List<Bar> getFooList()

if Bar extends Foo?

Thanks in advance!!!

.