Is there a way to give the name of the arraylist depending upon the input ?


for example

ArrayList arrname=new Arraylist();

The above is the default one .