Home >  Term: constructor
constructor

A special initialization function that is called automatically whenever an instance of a class is declared. This function prevents errors that result from the use of uninitialized objects. The constructor must have the same name as the class itself and must not return a value.

0 0

Kūrėjas

  • Qubilah
  •  (Gold) 2089 points
  • 100% positive feedback
© 2024 CSOFT International, Ltd.