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 are the differences between a class and structure
What are console applications used for?
How long does it take to learn c# programming?
What is difference between const and static in c#?
Define boxing and unboxing in c#?
What is iqueryable in c#?
What is Nullable Type in c#
How many variables do you need?
Why can?t you specify the accessibility modifier for methods inside the interface?
What is the difference between namespace and class?
Why do we need generics?
What is constants in c#?