why abstract class does not have object creation
Answer Posted / sonykrishna90
bcz of abstract class have abstract methods and concrete methods in that process does n't have method body so how can know the jvm how much memory will allocate for that method so we dont have the creation of object.and another answer is abstract class abstract methods may have or may not also in that JVM was fixed for when abstract key word is coming there no object instantiation.
Is This Answer Correct ? | 20 Yes | 5 No |
Post New Answer View All Answers
Does java runtime require a license?
Is java platform independent?
Explain features of interfaces in java?
How do I know if java is installed?
Is null an object java?
What access modifiers can be used for class ?
what is meant by HQL?
What are aggregate functions explain with examples?
How do you convert string to int in java?
What does main method?
What is the difference between char and char *?
If an object is garbage collected, can it become reachable again?
Justify your answer that you can't define a method inside another method in java, if you can then how?
When should the method invokelater() be used?
What are the types of casting?