What is the concept of inheritance in .net?
Answer / Shailendra Sonker
"Inheritance is a mechanism in which one class acquires the properties and behaviors of another. In .NET, a derived class inherits from a base class by using the keyword ':`nExample: npublic class BaseClass {n// Properties and methods...n}npublic class DerivedClass : BaseClass {n// Override properties and methods or add new ones...n}
| Is This Answer Correct ? | 0 Yes | 0 No |
what all type of application can u make with visual studio?
What is the single responsibility principle?
Explain Different kinds of methods?
Which dll translate xml to sql in internet information server (iis)?
Describe the difference between inline and code behind which is best in a loosely coupled solution?
What is the difference between task and thread in .net?
Do you know what are three common acronyms used in .net, and what do they stand for?
Tell us the differences between an interface and an abstract class in .net?
Write code for fetch record nos 15 to 25 from a dataset containing 50 records?
How can I get at the win32 api from a .net program?
What is strong-typing versus weak-typing? Which is preferred?
What data providers available in .net to connect to database?