hey i hope you can help me with this...,
I have a vector which contains several elements consisting of a user defined object. Now I'd like to add objects of ANOTHER user defined object. I know you can do this in C++, but can you also do this in
java? My main question is once I add elements of this new objectt ype, how do I go through the vector element by element checking to see what type of object is stored in there. If I have the first user defined object in the slot, then I need to do a certain set of operations to it and if I have the 2nd user defined object in the slot then I need to do another set of operations to it....thanks for all the help!
amr