Overriding Generics
- From: Bryan <BTRichardson@xxxxxxxxx>
- Date: 31 May 2007 12:06:36 -0700
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!!!
.
- Follow-Ups:
- Re: Overriding Generics
- From: Daniel Dyer
- Re: Overriding Generics
- Prev by Date: DateFormat question
- Next by Date: Re: Overriding Generics
- Previous by thread: DateFormat question
- Next by thread: Re: Overriding Generics
- Index(es):