constructor

US /kənˈstrʌk.t̬ɚ/
UK /kənˈstrʌk.t̬ɚ/
"constructor" picture
1.

건설업자, 건축가

a person or company that builds or constructs something, especially a building or road.

:
The constructor completed the new bridge ahead of schedule.
건설업자는 새 다리를 예정보다 일찍 완공했다.
We hired a local constructor for our home renovation.
우리는 주택 개조를 위해 지역 건설업자를 고용했다.
2.

생성자

a special method, in object-oriented programming, for creating and initializing an object.

:
In Java, the constructor is called when a new object is instantiated.
자바에서 새로운 객체가 인스턴스화될 때 생성자가 호출된다.
Every class in C++ has at least one constructor, even if it's implicitly defined.
C++의 모든 클래스는 암시적으로 정의된 경우에도 최소한 하나의 생성자를 가진다.