Почему `T расширяет String` разрешено, но выдает предупреждение? [Дубликат]
Possible Duplicate:
@SuppressWarnings for “extends String”
ЗачемT extends String
разрешено, но дает предупреждение?
The type parameter T should not be bounded by the final type String. Final types cannot be further extended
public class Car<T extends String>
I Know what is final I know It is valid because only possible value of T can be String
I was wondering about Warning.