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

Penulis

  • Romain
  •  (V.I.P) 17515 poin
  • 44.44% positive feedback
© 2024 CSOFT International, Ltd.