How to declare an ArrayList with values? [duplicate] This question already has answers here: Initialization of an ArrayList in one line (33 answers) Closed 6 years ago. ArrayList or List declaration in Java has questioned and answered... May 26, 2022 0 Comments