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 mean by String and StringBuffer? What is mean by Methooverriding and Overloading?

2 Answers   Satyam,


What are the performance implications of interfaces over abstract classes?

1 Answers  


Explain about assignment statement?

0 Answers  


What is java virtual machine? Explain

0 Answers  


Does a class inherit the constructor of its super class?if it does, how can you hide that constructor? if it doesnot how can you call it from the sub class?

2 Answers  






Explain method overloading?

0 Answers  


For which statements we use a label?

3 Answers   Wipro,


What is constructor and virtual function? Can we call a virtual function in a constructor?

0 Answers  


Why all programming languages have main as a execution starting point?

4 Answers  


What is the core java?

0 Answers  


what is the difference between preemptive scheduling and time slicing? : Java thread

0 Answers  


What is the protected method modifier?

0 Answers  


Categories