troubleshooting Question

create arrays of size x in java

Avatar of icylin
icylin asked on
Java
9 Comments1 Solution215 ViewsLast Modified:
Hello,
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

Thanks.
ASKER CERTIFIED SOLUTION
gordon_vt02

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros