how to find length of an arraylist of type string in java code example
Example 1: arraylist length java
aList.size()
Example 2: java list length
ArrayList listOfBanks = new ArrayList<>();
int size = listOfBanks.size();
System.out.println("size of array list after creating: " + size);