Use "constructor" in a sentence

1. Constructor: $A1$B1

Khối mã lệnh: $A1$B1

2. If a constructor does not take any data arguments, it is nullary. -- nullary type constructor with two nullary data constructors data Bool = False | True -- non-nullary type constructor with one non-nullary data constructor data Point a = Point a a -- non-nullary type constructor with... data Maybe a = Nothing -- ...nullary data constructor | Just a -- ...unary data constructor

Nếu một hàm tạo mà không có bất kì đối số nào, thì nó là rỗng. -- nullary type constructor with two nullary data constructors data Bool = False | True -- non-nullary type constructor with one non-nullary data constructor data Point a = Point a a -- non-nullary type constructor with... data Maybe a = Nothing --...nullary data constructor | Just a --...unary data constructor

3. Immutable objects must be initialized in a constructor.

Đối tượng bất biến phải được khởi tạo trong hàm tạo.

4. The behavior of the default constructor is language dependent.

Hành vi của hàm tạo mặc định phụ thuộc vào ngôn ngữ.

5. These can be referenced in the Constructor using the $A1, $A2, $B1, $B2 notation.

Bạn có thể tham khảo các ký tự đại diện này trong Khối mã lệnh bằng ký hiệu $A1, $A2, $B1, $B2.

6. In object-oriented programming, a constructor is code that is run when an object is created.

Trong lập trình hướng đối tượng, hàm tạo là đoạn mã được chạy khi đối tượng được tạo ra.

7. In 1910, the Chief Naval Constructor, French Navy, had designed the Normandie-class battleships with three quadruple turrets, and the quadruple turret was broadly used, on the Dunkerque-class battleships, as the mounting for the main armament, and for the dual-purpose secondary battery.

Vào năm 1910, Trưởng ban Chế tạo Hải quân Pháp đã thiết kế lớp thiết giáp hạm Normandie với ba tháp pháo bốn nòng, và tháp pháo bốn nòng cũng được sử dụng rộng rãi cho dàn pháo chính lẫn pháo hạng hai đa dụng của lớp thiết giáp hạm nhanh Dunkerque.