A CONSTRUCTOR CAN BE PRIVATE. TRUE OR FALSE

Pushpendra Singh

Total Post:240

Points:1200
Posted by  Pushpendra Singh
OOPS 
 1748  View(s)
Ratings:
Rate this:
  1. Pushpendra Singh

    Post:240

    Points:1200
    A constructor can be private. True or False

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

  1. krishna bramhadandi

    Post:7

    Points:35
    A constructor can be private. True or False

    private constructor prevents the instance of the class.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!