Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Нехай дано клас Student, який унаслідується від класу Human. Які із наступних фрагментів коду будуть скомпільовані?
ArrayList<Student> students=new ArrayList<Student>();ArrayList<Human> humans=students;
List<Human> human3=new ArrayList();
List<Human> human2=new ArrayList<Human>();
List<Student> student2=new ArrayList();
ArrayList<Student> student1=new ArrayList<Human>();
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!