initialize arraylist with default values java 8 code example
Example: java arraylist initialize with 0
List<Integer> list = new ArrayList<Integer>(Collections.nCopies(60, 0));
List<Integer> list = new ArrayList<Integer>(Collections.nCopies(60, 0));