Posted By:
WarnerJan_Veldhuis
Posted On:
Monday, April 10, 2006 04:00 PM
Well, using instanceof you can solve the problem. However, the design could use some improvements if a method returns two different objects... perhaps you can solve it using two different methods, an interface, or delegation...