Question: 17. Suppose ArrayList x contains two strings [Belgin, Selin). Which of the following method will cause the list to become [Belgin, Cemre, Selin]? a) X.add(Cemre)
17. Suppose ArrayList x contains two strings [Belgin, Selin). Which of the following method will cause the list to become [Belgin, Cemre, Selin]? a) X.add("Cemre") b) X.add(1, "Cemre") c) X.add(0, "Cemre") d d) x.add(2, "Cemre") Bo brak
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
