I have to write a method that takes a single ArrayList of strings as a parameter and returns a new ArrayList of strings that contains the same elements as the original but in reverse order. The original ArrayList should be unchanged. I know what ArrayLists are but how would I go about doing this?
0 comments:
Post a Comment