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
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 |
Following are features of a abstract class :-
√ You can not create a object of abstract class
* How would you describe yourself ?
98
√ 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.
√ Abstract classes are similar to interfaces. After
declaring an abstract class, it
cannot be instantiated on it's own, it must be inherited.
√ In VB.NET abstract classes are created
using “MustInherit” keyword.In C#
we have “Abstract” keyword.
√ 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 |
what is uniary operators and binary operators and what is the difference
What debugging tools come with the .NET ssSDK?
what is difference between is and as operators in c#?
Diff b/w casting and boxing
What is the difference between Abstract and Interface?
22 Answers Agile Software, FER, HCL, Sys Universe,
How long can loop recorders stay in?
Differentiate between copy and default constructor.
Hi!!! my question is how we can apply or do Themes in C#.NET? please any sample or website from where i can get the answer.
What is c# best for?
What is a hash table in c#?
What is the use of nullable types in c#?
Give an example of removing an element from the queue?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)