www.digitalmars.com         C & C++   DMDScript  

D - Multiple inheritance

reply "Luigi" <igiul.reverse email.it> writes:
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);
Sep 07 2002
next sibling parent "Luigi" <igiul.reverse email.it> writes:
Ah, another simple thing: bit is equal to boolean type?

Thanks

--
Luigi
Sep 07 2002
prev sibling parent Pavel Minayev <evilone omen.ru> writes:
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.
Sep 07 2002