java arraylist initialize with 0

49

java arraylist initialize with 0 -

List<Integer> list = new ArrayList<Integer>(Collections.nCopies(60, 0));

Comments

Submit
0 Comments