I have this class constructor:
public Category(int max){ ... }
The thing is, I want to make an array of this class, how do I initialize it?
Initialize it as an array first
Category[] categories = new Categories[4]; categories[0] = new Category(max);
Then initialize each individual element.