A colleague and I are having a bit of an argument over multiple inheritance. I'm saying it's not supported and he's saying it is. So, I thought that I'd ask the brainy bunch on the net.
The do-while statement lets you repeat a statement or compound statement until a specified expression becomes false.
The C do while statement creates a structured loop that executes as long as a specified condition is true at the end of each pass through the loop.
The ' |= ' symbol is the bitwise OR assignment operator.
Sorry, you cannot inherit from multiple classes. You may use interfaces or a combination of one class and interface(s), where interface(s) should follow the class name in the signature.
interface A { } interface B { } class Base { } class AnotherClass { }
Possible ways to inherit:
class SomeClass : A, B { } // from multiple Interface(s) class SomeClass : Base, B { } // from one Class and Interface(s)
This is not legal:
class SomeClass : Base, AnotherClass { }
Nope, use interfaces instead! ^.^
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With