Can we create instance for Abstract class?
Answer Posted / rajesh parab
you can create at least in java 5.
YourAbstractClass obj= new YourAbstractClass (){}
try this.
but if you have abstrace method in it then you can not
create.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is type cast in C#?
What is task parallel library?
What is hash c#?
How do you escape c#?
What is field in c#?
Why we use get set property in c#?
Explain the types of errors in c#?
Is a structure a class?
How do you escape in c#?
How to implement an object pool in c#.net.
Why constructor is used in c#?
What are access modifiers used for?
How many aware interfaces are there?
How do you pass reference parameters in c#?
Can c# inherit multiple classes?