Question d’entretien chez Stainless Games

What is a constructor in C++?

Réponse à la question d'entretien

Utilisateur anonyme

19 mars 2020

A constructor is the first method that is called when a class is instantiated. If there is a class hierachy then the constructor of the base class is called first.