Answer Posted / kiruthika.d
The mechanism of deriving a new class from an existing class
is called inheritance. Shared inheritance introduces a new
opportunity of ambiguity and additional implementation
complexity. Assume D inherits from B and C, both of which
inherits from A. Here A in shared. Single copy made from
both derived classes is called shared inheritance.
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
How can we set the class to be inherited, but prevent the method from being over-ridden?
What are the methods in c#?
How do you remove white spaces from a string?
Can we have multiple constructors in a class c#?
Different between method overriding and method overloading?
What is extension method in c# and how to use them?
Is c# easier than c++?
Constructor to an arbitrary base constructor?
How do I create multifile assembly?
Why do we need static class in c#?
Can you declare a field readonly?
What is global asax in c#?
What is garbage collector and where should you use in .NET?
what is the difference between the debug class and trace class?
Explain what is an interface in c#?