add a number to array java code example
Example: how to add a number to an array in java
List<Integer> myList = new ArrayList<Integer>();
myList.add(5);
myList.add(7);
List<Integer> myList = new ArrayList<Integer>();
myList.add(5);
myList.add(7);