首页 >  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

创建者

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