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

Can a loop recorder detect a heart attack?

1070


Why delegate is used in c#?

972


What is the resgen.exe tool used for?

1031


How do I get deterministic finalization in c#?

1108


Why do we use methods in c#?

944


There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

2068


Is namespace a class?

930


What is a .exe extension files? How is it similar to .dll extension files?

1110


What is exe in c#?

972


What are winforms in c#?

962


How can we set the class to be inherited, but prevent the method from being over-ridden?

1041


What is the difference between inheritance and abstract class?

942


What is singleordefault c#?

954


What is multicast delegate explain with example?

1074


How to properly clean up excel interop objects?

984