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 overload destructor in java?
When can an object reference be cast to an interface reference in java programming?
What is meant by class and object in java?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
Write a function for palindrome and factorial and explain?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
what happens when a thread cannot acquire a lock on an object? : Java thread
What is the method to declare member of a class static?
What is the difference between array list and vector in java?
What is tcp ip in java?
What is factor r?
What Is Composition?
What is a return in java?
Can a static member function access member variable of an object?
Can a class have multiple subclasses?