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 to split string in java?
What is the full name of java?
Is null a keyword in java?
How do you check if a character in a string is a digit or letter?
What is a 16 bit word?
What is n in java?
Can a class with private constructor be extended?
What is the difference between a break statement and a continue statement?
Are arrays passed by reference in java?
What technique can be employed to compare two strings?
What do the thread?class methods run() and start() do?
How do you add an element to a set in java?
What does || || mean in math?
what is deadlock? : Java thread
Can we use String with switch case?