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.
- ส่วนหนึ่งของคำพูด: noun
- อุตสาหกรรม/ขอบเขต: Computer
- Category: Operating systems
- Company: Microsoft
0
ผู้สร้าง
- Romain
- 44.44% positive feedback