Код: Выделить всё
List myList = new ArrayList();
Код: Выделить всё
incompatible types: cannot infer type arguments for ArrayList
reason: no instance(s) of type variable(s) T exist so that ArrayList conforms to List
where T is a type-variable:
T extends Object declared in class ArrayList(errors(1): 29:8-29:46)
Cannot infer type arguments for ArrayListJava(16778094)
Пожалуйста, помогите мне понять, почему и что касается этой проблемы.>
Подробнее здесь: https://stackoverflow.com/questions/797 ... showing-up
Мобильная версия