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