56.1k views
1 vote
A _____ is a member function that is automatically called when a class object is created.

User Folex
by
6.5k points

1 Answer

4 votes
constructor. It initializes the object, usually assigning the variables passed to the new statement into variables in the objects namespace.
User Bmdhacks
by
7.2k points