I have an Arraylist of objects and i want to create a fixed arrays of size x from this arraylist and want to destroy the original object.
Lets say i have Arraylist of size() =312 and x=100
I want to create 4 arrays each of size 100. I want to transfer all the elements in arraylist these 4 arrays and destroy the original array. I will access objects via newly created fixed size arrays.
Please help me how can this be achieved using a program in java