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


Please Help Members By Posting Answers For Below Questions

What is the difference between overriding and overloading in OOPS.

661


What does index mean in java?

627


What are alternatives to java serialization?

689


what are the disadvantages of indexes in oracle?

1950


Can we convert integer to string in java?

710






Can a static class have a constructor java?

626


Explain about arraylist?

664


What is a bufferedreader?

626


Can a static method be overridden in java?

645


Why string is called as immutable?

611


Can we define constructor in inner class?

641


What is nested top-level class?

669


Which containers use a flowlayout as their default layout in java programming?

596


What is are packages?

679


What is the difference between a local variable and an instance variable?

640