constructor
special method used for initializing a newly allocated object in object-oriented programming
Facts
7 properties- Instance of
- OOP construct[2]
- Subclass of
- method, special member function[3][4]
- Has use
- initialization[6]
- Facet of
- object lifetime[7]
- Different from
- design engineer, allocator, factory method[8][9][10]
🏷️ Also known as
en constructor
en ctor
ar دالة البناء
bg Деструктор
bg Конструктор
ca Constructor d'objecte
cs Konstruktor
de Constructor
de Ctor
de Konstruktor
de Konstruktoren
eo konstruilo
fa سازنده (برنامهنویسی شیءگرا)
fi konstruktori
fi rakentaja
fr constructeur
he constructor
he בנאי
he פונקציית בנאי
he קונסטרקטור
🔖 Identifiers · 6
- Image (Wikimedia Commons)
- Partial Memory Image-Constructor.png ↗
- Freebase ID
- /m/03rvkg
- Google Knowledge Graph ID
- /g/11gnrlzw9j
- Open Library subject ID
- constructors
- ScienceDirect topic ID
- computer-science/constructors, computer-science/constructor-function, computer-science/class-constructor
- Stack Exchange tag
- stackoverflow.com
🔗 Connections
Different from 2
Subtypes 2
Facet of 1
Has use 1
Part of 1
Subclass of 1
← Different from 1
← Occupation 1
← Opposite of 1
Press Enter · cited answer in seconds
0 sources
Summary
constructor is a memory manager[1].