Question: 5) PersonList is an ArrayList in which Person objects are stored. We want to get the following information id information of the Person object which

 5) PersonList is an ArrayList in which Person objects are stored.

5) PersonList is an ArrayList in which Person objects are stored. We want to get the following information "id information of the Person object which is found ot index 4.". Which of the following statement should be used to reach this information? a) PersonList.get(4)-getid() b) Persontist.getid().get(4) c) Persontist [4]-getid(]) d) Persontist. Person get(4)-getid)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!