I have 4 classes like A,B,C & D.
I need to store the objects of these classes in a one-dimensional array kind of data structure so that i can get those objects just by using an index. For instance when i say, array i should get A's object, array should give me the B's object and so on...
Can you plz suggest a way for doing this??
Thanks & regards,