can abstract class have constructor how can you achive
this ?

Answers were Sorted based on User's Feedback



can abstract class have constructor how can you achive this ?..

Answer / rajasekharreddy.y

Yes abstract class must have the constructor, these
constructor we can achive by creating the instance of the
concreate subclass of the abstract class.

Is This Answer Correct ?    14 Yes 2 No

can abstract class have constructor how can you achive this ?..

Answer / ravikiran

Yes abstract class has a constructor

Is This Answer Correct ?    7 Yes 1 No

can abstract class have constructor how can you achive this ?..

Answer / bhargava

You cannot crate the constructor for an abstract class
directly. But you can create constructor for subclass for
an abstract class by making new class sub class for the
abstract class.

Is This Answer Correct ?    1 Yes 7 No

can abstract class have constructor how can you achive this ?..

Answer / guest

dsf

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More Core Java Interview Questions

what is the use of servlet engine?

2 Answers   Photon,


How can we make sure main() is the last thread to finish in java program?

0 Answers  


What is the difference between a vector & an array list?

0 Answers   Agilent,


What are thread safe functions?

0 Answers  


Write a method that will remove given character from the string?

0 Answers  






How to display all the prime numbers between 1 and 100

0 Answers  


What is meant by singleton class?

0 Answers  


Can we sort list in java?

0 Answers  


Can you write a java class that could be used both as an applet as well as an application?

0 Answers  


What is hash code collision?

0 Answers  


What is prime number in java?

0 Answers  


Difference between Linked list and Queue?

0 Answers   Virtusa,


Categories