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
Can we execute java program without main method?
worst case complexities of Quick sort and Merge sort.
What are facelets templates?
What is treeset in java?
What is a linkedhashmap java?
Can you write a java class that could be used both as an applet as well as an application?
which pattern is default in scanner package?
Why collection doesn’t extend cloneable and serializable interfaces?
what is singleton in java?
Is array a class in java?
What are advantages of exception handling in java?
Why enumeration is faster than iterator?
What environment variables do I need to set on my machine in order to be able to run java programs?
Why java is object oriented?
Difference between vector and arraylist.