Different types of inheritance
Illustrate different types of inheritance?
Expert
OOP contains four types of inheritance:
i. Single inheritance – It contains one derived class and one base class . ii. Hierarchical inheritance – It contains multiple derived classes of a similar base class and one base class iii. Multilevel inheritance – It contains a class derived from the derived class iv. Multiple inheritance – It contains many base classes and the derived class
All .NET languages hold single, hierarchical, and multilevel inheritance. They do not support multiple inheritances since in these languages; the derived class cannot contain more than single base class. Though, we can apply multiple inheritance in .NET through interfaces.
State the difference between a ContextMenuStrip control and a MenuStrip control?
Is it possible to declare a private class in a namespace?
Write down the code for selecting an item in ListView control programmatically in the C#?
What will happen if the ASP.NET server control with the event-handling routines is absent from its definition?
How can CAS be turn-on and turn-off?
Explain about the DataContext class and also how it is related to the LINQ?
What is meant by the Runtime engine?
Write the control which exposes LINQ features to the Web developers through ASP.NET data-source control architecture.
Describe the meaning of Serialization and Deserialization and its utilization?
State the difference between a class and a structure?
18,76,764
1945627 Asked
3,689
Active Tutors
1415136
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!