Question: - StudentList is an ArrayList in which Student objects are stored. We want to get the following information name information of the Student object which

- StudentList is an ArrayList in which Student objects are stored. We want to get the following information "name information of the Student object which is found at index 2". Which of the following statement should be used to reach this information? 1. II. StudentList.get(2).getName() StudentList.getName().get(2) StudentList (2).getName() StudentList.Student.get(2).getName() III. IV. O IV OI
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
