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 :-
√ 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 |
Post New Answer View All Answers
How do I download a program to my desktop?
what is the syntax to inherit from a class in c#?
What is asax file in c#?
Is there any sample c# code for simple threading?
What are the advantages of clr procedure over t-sql procedure?
What are the ways in which client can create object on server in cao model?
Can you use foreach iteration on arrays in c#?
Can we inherit a private class in c#?
What is hierarchical inheritance in c#?
What is a string c#?
What is iqueryable in c#?
When is a class declared as a class abstract?
What are satellite assemblies? How will you get the different language strings?
Is array thread safe c#?
What are the Types of assemblies that can be created in dotnet