Home > DeveloperSection > Interviews > A constructor can be private. True or False

Posted on    October-25-2010 12:00 AM

 OOPS OOPS 
Ratings:
 2 Answer(s)
  1430  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Points:1205
Posted on    October-26-2010 12:00 AM

True. A constructor can be private. We can declare a constructor as private.

krishna bramhadandi
krishna bramhadandi

Total Post:10

Points:50
Posted on    April-02-2014 12:00 AM

private constructor prevents the instance of the class.


Don't want to miss updates? Please click the below button!

Follow MindStick