Question: what is the right answer ,in java , full explanation please , thank you 10) Suppose an Arraytist list contains (pink; pinic, blue). What is
10) Suppose an Arraytist list contains ("pink"; "pinic", "blue"). What is the list after the following code? Bteing element = "pinik"t If (1)at,get (1), equala (element)) 11 tiremove (element) I a) { "pink", "pink", "blue" b) \{f c) { "pink", "blue") d) ["biue"] 11) What will be the output of the following code? a) x:20 times: 1 b) x:20 times: 20 c) x:19 times: 0 d) x:20 times: 0 12) Studentlist is an ArrayList in which Student objects are stored. We want to Bet the following information "student id information of the student object which is found at index 47. Which of the following statement should be used to reach this information? a) Studentlist.get(4).getid() b) Student(istigetid().get(4) c) StudentList [4].getldil] d) Studentlist.Student.get(4).getid()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
