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

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.
User Bmdhacks
by
8.5k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.