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)?

Answers were Sorted based on User's Feedback



When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choi..

Answer / umesh

When at least one of the methods in the class is abstract.
When the class itself is inherited from an abstract class,
but not all base abstract methods have been over-ridden.

Is This Answer Correct ?    18 Yes 2 No

When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choi..

Answer / 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

More C Sharp Interview Questions

Give an example of removing an element from the queue?

0 Answers  


What is shared inheritance

3 Answers   IGT,


What are the main reasons to use c# language?

0 Answers  


What is data type in c# with example?

0 Answers  


How to use the sreamReader class to read form a text file?

0 Answers   MCN Solutions,


How do I make a dll in c#?

0 Answers  


In how many ways you can overload a method?

0 Answers   Siebel,


Why multiple Inheritence is not used in C#?

8 Answers   Symphony,


Why do we need delegates?

0 Answers  


Is c# a strongly-typed language?

0 Answers  


Is void a class?

0 Answers  


What is use of console?

0 Answers  


Categories