Question: solve it 5. A new car object named a has been created below. Car a = new Car (Ford, 2014); Which of the following statements
5. A new car object named "a" has been created below. Car a = new Car ("Ford", 2014); Which of the following statements adds this object to the ArrayList named Carlist? I.a.add() II.a.add(Carlist) III. Carlist.add() IV.Carlist.add(a) You can also see the options in the following picture: 1. a.add () II. a.add (Carlist) III. Carlist.add() IV. Carlist.add (a) 6 C) d) IV
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
