Qus:    When do we use abstract classes?
Dec 16, 2020 14:14 2 Answers Views: 90 PADMAKEECHU

Whenever some methods in the current class can be implemented now and fewer methods which can be implemented in the future then those needs to be declared as abstract class.

Prev Next
Answers (2)
PARTH Dec 17, 2020 08:13
Answer:   We use abstract class when we need provide some common functionality across a set of related classes while also allowing default method implementations in case of single or multiple inheritance.

SHIVA Dec 17, 2020 08:15
Answer:   Whenever some methods in the current class can be implemented now and fewer methods which can be implemented in the future then those needs to be declared as abstract class.

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