Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> C++ suports multiple inheritance big time but what is the gain ?? 1) True hermaprhoditism (a la earthworms) where the organism has both male and female gonads and external genitalia. Either partner may penetrate the other during sexual intercourse, and either may fertilize or be fertilized. In terms of an abstractions: class male{ class female{ class earthworm: is a male, is a female{} 2) AM/FM radios class AM radio{ class FM radio{ class AM/FM radio: is a AM radio, is a FM radio{}
Replies: |
Sponsored Links
|