Friday, December 14, 2012

What is Abstract Class?

Posted by Rahul Kharde at 12:44 AM

  • Abstract Class mostly used as a base class.
  • Abstract class is a class that cannot be instantiated, it exists extensively for inheritance and it must be inherited.
  • An Abstract Method of an Abstract Class must be overridden.
  • Abstract classes are classes that contain one or more abstract methods (methods without implementation).
  • Abstract classes cannot be used to instantiate objects; because abstract classes are incomplete, it may contain only definition of the properties or methods and derived classes that inherit this implements it's properties or methods.
  • There are scenarios in which it is useful to define classes that is not intended to instantiate; because such classes normally are used as base-class.
  • An abstract method is a method that is declared, but doesn't contain implementation (like method declaration in the interface).


If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you subscribe to my regular Email Updates. Subscribe Now!


Kindly Bookmark and Share it:

YOUR ADSENSE CODE GOES HERE

0 comments:

Have any question? Feel Free To Post Below:

 

Popular Posts

Recent Comments

© 2011. All Rights Reserved | Help to understand .Net | Template by Blogger Widgets

Home | About | Top