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
What is the difference between stringbuffer and stringbuilder class?
What does string intern() method do?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
Can we declare an array without size in java?
Define how does a try statement determine which catch clause should be used to handle an exception?
What are the 3 types of control structures?
What is java lang string?
What is java util function?
Can we convert integer to string in java?
What is entry in java?
How do you define a variable?
What is downcasting?
What is method and methodology?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
Explain the importance of import keyword in java?