I want to have a helper class to my main class. In the helper class I want to create objects and store them in the first class ArrayList of 2nd class's objects. But, I want each object to have different amount of variables and type of variables. So basically I want an ArrayList as follow
ArrayList<otherClass>
position [0] would be int a, int b
position [1] let's say String a, JLabel b
position [2] let's say Jlabel a, b, c, d, e, f
Is something like this possible?

