0
Android
1. ArrayList<String> Listitem; 2. Listitem =new ArrayList<>(); what does the second line says
1 Answer
+ 5
You dynamically create a new instance of the class, and then assign it to the object. Without doing so, Listitem would have been null.