Answers for "Arraylist initiate fixed length"

2

how to make arraylist of fixed size

List<Integer> arr = Arrays.asList(new Integer[10]);
Posted by: Guest on April-20-2021

Browse Popular Code Answers by Language