Can you make an instance of an abstract class?
Answer Posted / hemant chouhan
you cant create the object or instance of abstract class
but you can create the reference of that class .actually
the abstract is a incomplete class since you provide the
implementation in the subcalss of abstrace so jvm prevent
if any one create the instance of that class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What will happen to the exception object after exception handling?
Write a code to show a static variable?
Where is java located?
What is immutability in java?
What does void * mean?
Give me an example of array and linked list? Where they can be used?
Can you declare a private method as static?
What is a stringbuffer?
What is replacefirst in java?
When does an object becomes eligible for garbage collection in java?
What restrictions are placed on method overriding in java programming?
What causes memory leaks in java?
Why hashset is used in java?
What do you mean by an interface in java?
What is the use of pattern in java?