Respuesta :

new ArrayList<>()

ArrayList<data_type> list_name = new ArrayList<>(); The following statement, for instance, can be used to build a generic ArrayList of type String.

ArrayList<String> arraylist = new ArrayList<>(); This will produce a String-type empty ArrayList with the name "arraylist."

Learn more here:

https://brainly.com/question/16464645

#SPJ4

ACCESS MORE