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.
Elucidate the types of Authentication?
Specify the function of the “SizeMode” property of the PictureBox control?
How all items in the CheckedListBox control in .NET 4.0 can be checked/unchecked?
Write the syntax to declare the namespace in the .NET and in VB?
Explain the term Cookie? Explain where it can be used in ASP.NET?
How docking is different from anchoring?
Illustrate the terms User Control as well as Custom Control?
Explain briefly about Object Relational Designer (0/R Designer)?
Write about the difference between OLEDB Provider and the SqlClient?
Explain the role of a DISTINCT clause in the LINQ query?
18,76,764
1935035 Asked
3,689
Active Tutors
1444321
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!