Can you make an instance of an abstract class?

Answers were Sorted based on User's Feedback



Can you make an instance of an abstract class? ..

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

Can you make an instance of an abstract class? ..

Answer / kanu

No. The abstract class can not be instantiated. They can
only be declared. The class might choose to do this if the
abstraction it represents is so general that it has to be
specialized in order to be of practical use.

Is This Answer Correct ?    9 Yes 3 No

Can you make an instance of an abstract class? ..

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

Can you make an instance of an abstract class? ..

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

Can you make an instance of an abstract class? ..

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

Post New Answer

More Core Java Interview Questions

What is meant by class and object in java?

0 Answers  


What is a parameter in simple terms?

0 Answers  


Why hashmap is used in java?

0 Answers  


What exactly is methodology?

0 Answers  


What is the hashcode () and equals () used for?

0 Answers  






What is a superclass?

0 Answers  


What does \ mean in regex?

0 Answers  


How you can force the garbage collection?

0 Answers  


How do you compare two strings lexicographically?

0 Answers  


What is light weight component?

3 Answers  


What is finalize() function in java?

0 Answers  


What are possible key words, we can use to declare a class?

2 Answers   Tech Mahindra,


Categories