Sunday, September 12, 2010

What is difference between Abstract and virtual keywords

Abstract differs from virtual in that a virtual method can have an overridable implementation whereas an abstract method has no implementation at all and, as such, abstract methods must be implemented in any derived classes but with virtual keyword its not essential to override that function in derived class but it allow derived class to override that function.

Solution by:

Rajesh Rolen

Share This!


No comments:

Powered By Blogger · Designed By Seo Blogger Templates