Search Interview Questions
Question: How can create multiple inheritence inc#, with example?
Answer: A class can implement multiple interfaces.
public class A : Ix, Iy,Iz
This way you can achieve multiple inheritence
|
|||||||||||
Question: How can create multiple inheritence inc#, with example? Answer: A class can implement multiple interfaces. In C#, a class cannot have multiple inheritance with classes. But class can have multiple inheritance with one class and more than one interface. ![]() ![]() If you have the better answer, then send it to us. We will display your answer after the approval Rules to Post Answers in CoolInterview.com:-
|
Related Questions | ||
What is the reason of occuring overflow-underflow arithmatic exception error, it shows error message when we run our program by adding control |
|
|
Can 2 different applications use the same dll in GAC at the same time? |
|
|
What is the procedure to add assemly to GAC to make it shared one? |
|
|
How different are interface and abstract class in .Net? |
|
|
What rare the Types of JIT and what is econo-JIT |
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Microsoft.NET 2.0 Interview Questions & Answers - Exam Mode / Learning Mode
India News Network |