Why we can't create the object of abstract class ?
Answers were Sorted based on User's Feedback
Answer / adithya
A Simple Real time Example do Child Can Exsist Without
Parent? ans is No,Hence we Define an Abstarct Class(Parent)
and now the Controvercy is wheater Parent is alive or not?
Child have aquried the Properties of Parent even though if
he is alive or not? to Define an Abstract class keep in
mind that parent is not alive that means instance can not
be created but can be inherited .....Hence we can not
create instance of abstract class
Is This Answer Correct ? | 10 Yes | 15 No |
Answer / vijay rana
hi friends its me vijay rana 9999433182
abstract class is an incomplete class,because if it have
any method which is abstract then it will be an abstract
class, and abstract method have not any implementation,
thats why we can not create any object of the abstract
calss,
we can not use the sealed keyword with abstract calss
Is This Answer Correct ? | 8 Yes | 17 No |
Answer / guest
Helo friends am Mohammed riyash.India .TamilNadu(Trichy)
9994558822.
Answer for this..
Abstract class should not use 'new' keyword and that class
cannot be given memory to save value for any of its members.
They can be declared but should not be defined.
Is This Answer Correct ? | 7 Yes | 28 No |
Answer / shashi bhushan
to make our object load less we use abstract class as
container and we allow to pass those methods which may
required by a particular inherited class .
By this way we save our object
to become a loaded one . And distinguse this class as a
representative one of the methods which may further be used
in feature.
Is This Answer Correct ? | 4 Yes | 26 No |
Answer / rimmy beas
becoz abstract class is a sealed class....
this is the main reason
Is This Answer Correct ? | 1 Yes | 35 No |
What is the .net datatype that allows the retrieval of data by a unique key?
Define c# delegate?
What is difference between variable and property in c#?
What is architecture of your poroject? how i c an say?
2 Answers Eminosoft, HCL, Phoenix Technologies,
How can encapsulation be achieved?
While debugging a C# application can you change the value of a variable?
What?s the implicit name of the parameter that gets passed into the class? set method?
What is entity framework c#?
What is Named parameter in C#?
What are the types of parameters in c#?
What is the use of delegates in c#?
What is an arraylist in c#?