0
Q:

arraylist get last

 return array[array.length - 1];
4
ArrayList<Integer> list = new ArrayList<Integer>(5); 
int last = list.get(list.size() - 1); 
6
E e = list.get(list.size() - 1);
1

New to Communities?

Join the community