title: how to create an arraylist of objects of a fixed size and pass on the remaining values to the next arraylist
body: <p>I need to create Arraylists of size 1000 that are dynamically created when the user enters a number of values.Say if the user enters 2200 values,  2 ArrayLists of 1000 each ,and one Arraylist of 200 have to be created dynamically. How should i go about? I just know that i can use Arraylist of objects. Please help</p>