ArrayList of Object | Sololearn: Learn to code for FREE!

+1

ArrayList of Object

how to use indexof() in ArrayList of object with 3 attributes

4/20/2017 4:23:44 AM

Anibal Lopes

2 Answers

New Answer

+1

If you're searching for a specific character you could use a while loop, and use the counter for its position? Eg: While (num > arraysize && !found)  If array[num]==searchItem    Found=true Else   Num++

+1

I want to access the specific value without search the entire arraylist.