My code is here: ArrayList list1 = new ArrayList<>();
list1.add(4444); list1.add(4444); System.out.println(list1.get(0) == list1.get(1));