0

Why do I need to define an abstract class/method

Why do I need to define an abstract class/method when the declaration in the subclass for the method would do the same thing it would do without the declared abstract method.

24th Sep 2017, 4:39 PM
Olawumi Qauzeem Yusuff
2 Answers
+ 3
To allow pollymorphism, improving the maintainability of the codes/classes. This is also situational. There is no "need" to always do one thing in programming.
24th Sep 2017, 4:51 PM
Rrestoring faith
Rrestoring faith - avatar
0
That I can do without it then?
24th Sep 2017, 5:27 PM
Olawumi Qauzeem Yusuff