Why we can't create the object of abstract class ?
Answer Posted / talk
Because object means it will occupy memory and 'do something'
but what exactly it will do ?? it is not told in an abstract
class as because there is only abstract methods declared but
not defined. Therefore, there is not meaning to create an
object which does not have any definition.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?
What is the difference between System.console.WriteLine() and System.console.Write() function?example?
What can we do to handle multiple exceptions?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
What are the differences between system.string and system.text.stringbuilder classes?
Can you pass value types by reference to a method?
Why to use “finally” block in c#?
Explain the difference between user control and custom control. Also, explain their use.
What are the types of operator?
What is a derived class in c#?
What is default class in c#?
What is reference c#?
How many dimensions can an array have?
Can non-default constructors be used with single call sao?
Is null in c#?