What is shared inheritance

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


Please Help Members By Posting Answers For Below Questions

Write a program to find the angle between the hours and minutes in a clock

688


Is list a collection c#?

727


How to exclude a property from xml serialization?

766


What is getenumerator?

650


What is hierarchical inheritance in c#?

668


What are the different types of literals in c#?

717


What is a sealed class?

685


What is the difference between namespace and class?

639


Is c# an array?

656


How is the syntax written to inherit from a class in C#?Give an example ?

786


Does main have to be static c#?

722


Why delegate is used in c#?

660


What is array class in c#?

620


How do you inherit a class into other class in c#?

674


Explain the process of Serialization?

751