Posted by Itsmaninderkaur under C# on 7/21/2009 | Views : 1183 | Status : [Member] | Replies : 1
Hello Frnds,
Plz tell me
What are the benefits of using Abstract Classes instead of other classes.
When we can do the same task in other classes as well.


Posted by: Raja on: 7/21/2009 [Member] Starter

Abstract class is a class that can not be instantiated. To use it you need to inherit it. This class can be used as a base class where you can define certain method that must be implemented in derived class (Class that is going to inherit it) along with that you can also define certain methods that is frequently used and can be directly used by Derived class or overriden in the derived class if needed.

There is a very good article on this topic in this website, read thorugh it

Raja, USA

Itsmaninderkaur, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response