jo buger wrote:say I got this code here...
First, I think you need to explain what you're trying to do, because I suspect you're overthinking this by a country mile.
So: Given a red bike and a blue bike - which presumably are both subtypes of a
Bike (although even that is open to question) - what do you want to do?
Winston