I have an Arraylist, for example
Arraylist
ArrayList newObjectList = new ArrayList<>();
I want to use an object from
Use the method newObjectList.get(index) instead
newObjectList.get(index)
Documentation