Consider the following code.
class BaseClass { // code here } Interface iBase { //some methods }
class derivedClass : iBase,BaseClass { // You define some methods }
Select Answer:
. It will give Error, C# does not support multiple inheritance
It will give runtime error
It will work fine.
Results in a compilation error saying BaseClass is not an interface.
|