I have created a simple algorithm to solve a bin packing problem. To test it properly I need to create lots of box objects of various sizes (different lengths and widths). I have a box object: public Box(int width, int height)
How would I create say 500 boxes without hard coding them of different sizes and store them in an ArrayList
?
Thank you for your help