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 are the differences between Java 1.0 and Java 2.0?
What do you mean by exception handling in Java?
What is a text string?
Is alive method in java?
Explain aggregation in java?
What is difference between array and arraylist in java?
What are accessor methods in java?
which class is the wait() method defined in? : Java thread
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
How do you control extraneous variables?
What is a singleton factory?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
explain copyonwritearraylist and when do we use copyonwritearraylist?
Why are the destructors for base class and derived class called in reverse order when the program exits
How do you format in java?