Hi Henry,
List<T> is the return type of the method. Since T(which stands for Type) can be any type (for eg. T can be Object, or Vector, or JButton etc.), the method cannot return an ArrayList<String>. If the method returns ArrayList<T>, the code would compile perfectly.
Kind Regards,
Rakesh.R
SCJP 6, SCWCD 5.
[ November 07, 2008: Message edited by: Rakesh Rajagopalan ]