词语吧>英语词典>constructor翻译和用法

constructor

英 [kənˈstrʌktə(r)]

美 [kənˈstrʌktər]

n.  (尤指汽车或飞机的)建造者,制造者,建造商

复数:constructors 

计算机

BNC.24093 / COCA.29875

牛津词典

    noun

    • (尤指汽车或飞机的)建造者,制造者,建造商
      a person or company that builds things, especially cars or aircraft

      柯林斯词典

      • (汽车或飞机)制造商,建造公司
        A racing carconstructoror aircraftconstructoris a company that builds cars or aircraft.

        英英释义

        noun

        • someone who contracts for and supervises construction (as of a building)
            Synonym:builder

          双语例句

          • You must have a public default constructor.
            您必须具有公共缺省构造器。
          • If you have an immutable object, you must set whatever state it will contain in the constructor.
            如果您有一个不可变对象,则必须要在构造函数中设置该对象将包含的任何状态。
          • This type actually defines the signature of a constructor for the specified class and a matching sequence of values.
            该类型实际定义了指定用于类和值的匹配序列的构造器的签名。
          • Finally, the constructor function creates the slider's DOM tree and adds listeners to the slider.
            最后,构造函数创建了滑块的DOM树,并向滑块添加了监听程序。
          • In the method ( shown below), you create a Shell object with the default constructor.
            在下面的方法中,您在默认的构造函数中创建Shell对象。
          • Each Worker object takes a single string for its constructor.
            每个Worker对象都为其构造函数获取了一个单一字符串。
          • Its constructor will create a connection to the LDAP directory.
            其构造函数将会创建一个对LDAP目录的连接。
          • Thus, you should never have a no-argument constructor for an immutable class.
            因此,您永远都不该为一个不可变类提供一个无参数的构造函数。
          • Its constructor registers an un-caught handler.
            其构造函数注册了一个未捕获的处理程序。
          • I add a string name and port class variable and then two functions: a constructor and the server.
            我添加了一个字符串名称、一个端口类变量,还有两个函数:构造器和服务器。