How can I send a string to a method that receives a string as a parameter, and use that parameter being received to name a new ArrayList?
example:
public void new(String name){
ArrayList name = new ArrayList();
}
Why doesnt it works, and what can I do to fix it?