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

Why there is no call by reference in java?

689


what is the volatile modifier for? : Java thread

742


Can a private method of a superclass be declared within a subclass?

733


What do you mean by JVM?

786


Can we nested try statements in java?

842


What are predicates in java 8?

781


Is java util regex pattern thread safe?

729


What is function declaration?

713


How can we achieve thread safety in java?

893


What are filterstreams?

827


What is string example?

798


What about interrupt() method of thread class ?

819


What is method and methodology?

845


Explain aggregation in java?

726


Explain tree set and its features?

801