Thread overview | |||||
---|---|---|---|---|---|
|
September 07, 2002 Multiple inheritance | ||||
---|---|---|---|---|
| ||||
Hello, I'm italian and I speak a bit english. My question is: exist multiple inheritance in D? Or she is implemented with interface + single inheritance as Java and C#? Thanks -- Luigi -- void f (OS x) {while (x.getbugs() > 0); destroy(earth);}; // No problem... f (windows); |
September 07, 2002 Re: Multiple inheritance | ||||
---|---|---|---|---|
| ||||
Posted in reply to Luigi | Ah, another simple thing: bit is equal to boolean type? Thanks -- Luigi |
September 07, 2002 Re: Multiple inheritance | ||||
---|---|---|---|---|
| ||||
Posted in reply to Luigi | Luigi wrote:
> exist multiple inheritance in D? Or she is implemented with interface +
> single inheritance as Java and C#?
Yes, only interfaces are supported, not full MI. RTFM for reasoning.
|
Copyright © 1999-2021 by the D Language Foundation