Types of Inheritance
Explain the types of Inheritance.
Expert
Inheritance in OOPs is of four types,given as follows:
a) Single inheritance - Holds one base class and one derived class.
b) Hierarchical inheritance - Comprises of one base class and multiple derived classes of the same base class.
c) Multilevel inheritance - Has a class derived from derived class.
d) Multiple inheritance - Has several base classes and a derived class.
All .NET languages supports single, hierarchical, and multilevel inheritance. They do not support multiple inheritance since, in these languages, a derived class could not have more than one base class. Though, multiple inheritance in.NET can be implemented with the help of interfaces.
Write the basic difference between GroupBox and the Panel control?
How one can put a border around the picture box?
State different types of literals?
Specify advantages of the XML schemas over DTD.
Briefly describe the function of a CheckState property of a CheckBox control?
What is the role of the DynamicPopulateExtender control?
What is Class?
Describe about LINQ query expressions?
Briefly describe deployment?
Differentiate between int32 and int?
18,76,764
1946144 Asked
3,689
Active Tutors
1423639
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!