This is true. In some languages, constructors can be made private to restrict the ways in which objects can be created.
7.5m questions
10.1m answers