+ 1

How to return an arraylist?

How can I return each string in an arraylist? For example I need to return everything in my arraylist which is called train.

8th Feb 2018, 7:34 PM
William Rodriguez
William Rodriguez - avatar
2 Answers
0
not so clear about what you need. create an areaylist, append your strings by a loop, and return the list maybe?
8th Feb 2018, 7:38 PM
Salekin
Salekin - avatar