228k views
0 votes
A. True

b. False: a constructor is a public class function that is automatically invoked (i.e., called ) whenever a class object is created.

User Andreus
by
6.4k points

1 Answer

1 vote

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

User Omari Celestine
by
6.8k points