Check out example codes for "int list in java". It will help you in understanding the concepts better.

Code Example 1

List<Integer> list = new ArrayList<Integer>();

Learn ReactJs, React Native from akashmittal.com