What is the difference between inheritance and abstract class?



What is the difference between inheritance and abstract class?..

Answer / Vinay Prakash

Inheritance is a mechanism where a derived class acquires the properties, methods, and behaviors of its base class. An abstract class is a base class that cannot be instantiated directly but can be inherited by other classes to provide a generalized structure for those classes. Unlike abstract classes, inherited classes can be instantiated.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How Do You Convert A Value-type To A Reference-type?

1 Answers   Siebel Systems,


What is form feed in c#?

1 Answers  


What are the Different kinds of methods?

4 Answers   Wipro,


What is static variable in c#?

1 Answers  


How can you write a class to restrict that only one object of this class can be created (Singleton class)?

1 Answers  


How to create events for a control? What is custom events? How to create it?

1 Answers  


Can you prevent a class from overriding?

3 Answers  


Explain About Global.asax

1 Answers   Keane India Ltd,


In gridview in editmode if we want to display information in one combobox based on

1 Answers   FD, Microsoft,


What?s a satellite assembly?

2 Answers  


What does type safe mean in c#?

1 Answers  


What is enumerable in c#?

1 Answers  


Categories