ListIn this example, we create a List of Strings using the ArrayList implementation, add some elements to it, and then retrieve the element at index 0 (the first element) using the `get` method. The result is printed to the console. The java.util package contains various classes and interfaces for working with data structures like Lists, Sets, and Maps.myList = new ArrayList<>(); myList.add("apple"); myList.add("banana"); myList.add("cherry"); String nextElement = myList.get(0); System.out.println(nextElement); // output: "apple"