List is present java get element code example
Example 1: how to add element in list
list = []
list.append(var)
Example 2: how to get elements of a list in java
int num = list.get(0);
list = []
list.append(var)
int num = list.get(0);