Question: - A new student object named stu has been created below. Student stu= new Student(Ali, 123456); Which of the following statements adds this object to

- A new student object named "stu" has been created below. Student stu= new Student("Ali", 123456); Which of the following statements adds this object to the ArrayList named StudentList? I) stu.add() II) stu.add(StudentList) III) StudentList.add IV) StudentList.add(stu) OIV O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
