Difference between virtual & abstract methods?

Virtual methods have an implementation & provide derived class an option to override the method.

While Abstract methods don't have the implementation & force the derived class to override the method.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. For more information - please visit our private policy.