Can Abstract class contain a private constructor?

Showing Answers 1 - 4 of 4 Answers

rajesh

  • Nov 4th, 2005
 

Hai,

an abstract class cant contain a private constructor bcs, as the abstract class is to be subclassed and when the object of the subclass is created the constructor of the super class is called  and for this mechanism to be done the superclass's(the abstract class) constructor is not to be private.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions