Hi,
I want to create a data structure class which works for more than one type of object, but each instance of the data structure should hold only one type of data specified when it is instantiated. For example I could have a queue of apples or a queue of oranges, but not a queue of apples and oranges. I'm fairly certain I need to use a generic object to do this but I'm not sure how. Any ideas?
Thanks