posted 16 years ago
YOu can implement multiple interfaces. If A and B happen to be interfaces, you can add that to Ernest's example:
Now you can pass a new C() to a method that expects A or a method that expects B.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi