Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

When do you absolutely have to declare a class as abstract
(as opposed to free-willed educated choice or decision based
on UML diagram)?

Answer Posted / kiran

Following are features of a abstract class :-
&#8730; You can not create a object of abstract class
* How would you describe yourself ?
98
&#8730; Abstract class is designed to act as a base class (to be
inherited by other classes).
Abstract class is a design concept in program development
and provides a
base upon which other classes are built.
&#8730; Abstract classes are similar to interfaces. After
declaring an abstract class, it
cannot be instantiated on it's own, it must be inherited.
&#8730; In VB.NET abstract classes are created
using “MustInherit” keyword.In C#
we have “Abstract” keyword.
&#8730; Abstract classes can have implementation or pure abstract
methods which
should be implemented in the child class.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dynamic object in c#?

934


What is the use of nullable types in c#?

998


Is namespace a class?

885


What is a console device?

905


What is the difference between protected and private?

928


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

995


How many constructors can a class have c#?

913


What is namespace explain with example?

863


without modifying source code if we compile again, will it be generated MSIL again?

934


Why do I get a "cs5001: does not have an entry point defined" error when compiling?

997


Could you explain the difference between func vs action vs predicate?

868


What are custom exceptions? Why do we need them?

986


What is the full form of GAC? Explain its uses?

1017


Can a class be protected in c#?

914


I want to print "Hello" even before main() is executed. How will you achieve that?

901