adspace


What is the difference between inheritance and abstract class?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is expression tree in c#?

1013


What is an abstract class c#?

985


Which namespaces are necessary to create a localized application?

1153


Why can't we use a static class instead of singleton?

968


How do you inherit a class into other class in c#?

1004


How to assign Null value to Var?

1077