I have an ArrayList<String> that I'd like to return a copy of. ArrayList has a clone method has the following signature:
ArrayList<String>
ArrayList
public Object clone()
I'm trying to write a method that takes in a List and create a new List of the same type based on it. That is, if the input list is an ...
List