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
Explain the difference between private, public, package and protected in java?
What does sprintf mean?
Is sizeof a preprocessor?
Can a class be final?
Is null an object java?
What is meant by object?
What is class and object in java?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
What is the primitive type short?
What is a class component?
What is temp in java?
What is enhanced loop in java?
How to implement an arraylist in java?
What is the difference between serial and throughput garbage collector?
Why super is first line in java?