9951 explained code solutions for 126 technologies


javaCreate an ArrayList with certain data type


Arraylist<DataType> datas = new ArrayList<>();ctrl + c
ArrayList

is an iterable object in java and subclass of Collection class

DataType

data type to create

new

constructor of stated class