Can you make an instance of an abstract class?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in java?

536


How do you calculate roots in java?

527


what is meant by Garbage collection?

622


What is the purpose of return statement?

631


What is anti pattern in programming?

502






What is a method declaration?

519


What are local variables?

599


Describe how to implement singleton design pattern in struts.

537


What is collection class in java?

549


What is mvc in java?

560


What is ordered map in java?

543


What is the dot operator?

575


What does null mean in java?

633


When we serialize an object does the serialization mechanism saves its references too?

512


Why do we need variables?

533