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
What is the difference between overriding and overloading in OOPS.
What does index mean in java?
What are alternatives to java serialization?
what are the disadvantages of indexes in oracle?
Can we convert integer to string in java?
Can a static class have a constructor java?
Explain about arraylist?
What is a bufferedreader?
Can a static method be overridden in java?
Why string is called as immutable?
Can we define constructor in inner class?
What is nested top-level class?
Which containers use a flowlayout as their default layout in java programming?
What is are packages?
What is the difference between a local variable and an instance variable?