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 do you understand by abstract classes?
What does a method signature consist of?
What are the 8 data types in java?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
What is get () in java?
What is static data type in java?
Can final class have constructor?
How can you handle java exceptions?
How does finally block differ from finalize() method?
What is the importance of main method in Java?
What is use of set in java?
What are peerless components in java programming?
Write a program to print fibonacci series up to count 10.
Explain thread life cycle in java?
What are the pillars of java?