Qus:    What is Abstract Class?
Nov 20, 2020 13:23 2 Answers Views: 90 DIVYA

An abstract class is an incomplete class or special class which can't be instantiated. The purpose of an abstract class is to provide a blueprint for derived classes and set some rules what the derived classes must implement when they inherit an abstract class.



We can use an abstract class as a base class and all derived classes must implement abstract definitions. An abstract method must be implemented in all non-abstract classes using the override keyword. After overriding the abstract method is in the non-Abstract class. We can derive this class in another class and again we can override the same abstract method with it.

Prev Next
Answers (2)
PADMAKEECHU Nov 21, 2020 08:25
Answer:   Its declared as abstract. It can have abstract and non-abstract methods. It cannot be instantiated. Its implementation must be provided by derived classes.

PARTH Nov 23, 2020 09:26
Answer:   An abstract class is an incomplete class or special class which can't be instantiated. The purpose of an abstract class is to provide a blueprint for derived classes and set some rules what the derived classes must implement when they inherit an abstract class.

We can use an abstract class as a base class and all derived classes must implement abstract definitions. An abstract method must be implemented in all non-abstract classes using the override keyword. After overriding the abstract method is in the non-Abstract class. We can derive this class in another class and again we can override the same abstract method with it.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect