Can you make an instance of an abstract class?
Answers were Sorted based on User's Feedback
Answer / srinu
No. The abstract class can not be instantiated. No use
abstract class can be instantiated. I tell u sample Example
HttpServlet class contain purley undefined methods but it
declared as a Abstract class still no use can be instantited
for HttpServlet
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / rajasri
No, An abstract class can not be instantiated but we can
create reference for that class
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / 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 |
Answer / anitha
Directly we con't Instantiate an Abstract Class.but through
an implementation class we can do it.
| Is This Answer Correct ? | 1 Yes | 1 No |
can we have virtual functions in java?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
What is the difference between Java and C++?
0 Answers Integreon, TCS, ZS Associates,
What is the difference between the boolean & operator and the && operator in java programming?
What will be the initial value of an object reference which is defined as an instance variable?
Which variable is the independent variable?
What is the difference between == and === javascript?
Can we change the scope of the overridden method in the subclass?
What is the life-cycle of an object?
What are functions in java?
What is the use of collections in java? How it is implemented in real time applications?
Explain the features of java?