In other words, we are passing a list of integers as an array to list. So instead of having displayList, I would override toString in the list as well, and then just change newList.displayList(); to System.out.println(list.toString()), and remove all display methods. List interface and String class were part of Java object-oriented programming API. * * Note that the Collection classes have * their own implementation of toString, as exemplified here * by the List … *