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

what is uniary operators and binary operators and what is the difference

1 Answers   Protech,


What are the benefits of using generics in c#?

0 Answers  


Explain the functionalities of satellite assembly?

0 Answers   Siebel,


What is escape sequence in c#?

0 Answers  


What do you mean by hashtable c#?

0 Answers  


What is parallel foreach c#?

0 Answers  


Constructor to an arbitrary base constructor?

0 Answers  


What are variables in c#?

0 Answers  


Are attributes inherited c#?

0 Answers  


Why can?t you specify the accessibility modifier for methods inside the interface?

5 Answers  


Why do we use 0?

0 Answers  


What are the fundamental principles of oo programming?

0 Answers  


Categories