From: Brown J. L <Bro...@Jo...> - 2002-06-17 21:37:33
|
hello I'm still stuck on the following problem: If I have a class that instantiates 5 subclasses and 1 queue, and the 5 sub-classes are supposed to push and pop elements on the queue, what is a good model for giving the subclasses access to the queue. Do I need to have a constructor for each subclass that allows me to pass in a queue - because that method really sucks. j Josh Brown Undergraduate - Iowa State University Research Intern - John Deere and Co |