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

asked
User Folex
by
8.0k 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.
answered
User Bmdhacks
by
8.5k points

No related questions found