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.
Specify the new features involved in the Microsoft AJAX library?
What are the different types of validation controls in Asp.net?
Explain what is meant by CTS, and how it is related to the CLS?
State how the changes made to the DataSet object are identified since it was last loaded?
Differentiate between SQL invalidation and SQL notification?
List the usages of Command object in ADO.NET?
Briefly describe about data type?
Distinguish the terms Asp.net and Vb.net?
Which type of code, a client-side or a server-side, is found in the code-behind file of the Web page?
Write the syntax of the while loop in the C# program.
18,76,764
1931466 Asked
3,689
Active Tutors
1459930
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!