If you have some other class that doesn't inherit form Worker but does implement the INectarCollector interface, then it'll be able to do the job too! But since it doesn't inherit from Worker, you can't get it into an array with other bees. Can you think of a way to get around the problem and create an array with both bees and this new class?
My answer:
Create a reference to an instance of Worker.
Is this correct? If not, how would you do this?
This post has been edited by maryjane9110024: 29 January 2013 - 12:03 PM











