0
What is ArrayList in Java and Why we use it when coding ?
Recently i am perticipating a a trainning session on android .The trine said we will be using arrayList a lot . So just curious about how it really use and why !
2 Respostas
0
ArrayList<Integer> list = new ArrayList<>();
list.add(5);
list.get(0);
0
An ArrayList is like an array, but you can change it's size.