+ 1
This Question not Correct !!
Actually this question wrrong. because this codes are error. List<String>list= new ArrayList<String>(); ^ ArrayList <String>list=new ArrayList<String>();
1 ответ
+ 4
The question is correct, class ArrayList inherits from interface List