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

Give an example of removing an element from the queue?

885


Why attributes are used in c#?

830


What is the use of nullable types in c#?

928


How can we sort an array in c#?

852


Which namespaces are necessary to create a localized application?

1011


What is sorted list in c#?

841


What is private and shared assembly?

936


Why do we need to serialize data?

832


List down the reason behind the usage of c# language.

1215


Why is .net so popular?

897


How many constructor can a class have?

928


How we can create an array with non-default values?

903


What is the difference between int16 and int32 in c#?

870


What does immutable mean in c#?

898


What do you mean by saying a "class is a reference type"?

859