Search found 1 match
- Sat Nov 30, 2019 12:39 pm
- Forum: Java
- Topic: Method in ArrayList?
- Replies: 6
- Views: 3160
Re: Method in ArrayList?
What I can understand you want to append a value to the List using python code. In Java , you can append the value to the ArrayList using add() method of ArrayList class. ArrayList<String> arrlist = new ArrayList<String>(); arrlist.add("test"); System.out.println(arrlist); Reference: https...