employer cover photo
employer logo

VMware interview question

why do u need abstract functions when you have overloading

Interview Answer

Anonymous

12 Nov 2014

Abstract classes can have both concrete as well as abstract method. So if we want to enforce subclass to implement the functionality of abstract methods before using the concrete methods of the Abstract superclass we have to use Abstract function. This cannot be done in function overloading .

1