why abstract class does not have object creation
Answer Posted / sushila sonare
if we create an object for abstract class, so through object
reference we can use all method. But in abstract class some
method is abstract, i.e. they don't have body of the method.
At the time of method calling we are getting error. Compiler
don't know what to do. To avoiding this problem its
restricted to create an object
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How can you traverse a linked list in java?
Can java list contain duplicates?
What is internal variable?
How to perform selection sort in java?
Can anonymous class have constructor?
Can there be an abstract method without an abstract class?
How will you load a specific locale?
What are meta-annotations?
What do you understand by classes in java?
What does int argc char * argv [] mean?
What are facelets templates?
Does java initialize arrays to zero?
What is formatted output in java?
What are 5 boolean operators?
Does java allow overriding static methods ?