1·You can turn on namespace awareness in the constructor, but I rarely do.
您在构造函数中启用名称空间感知,但我很少这样做。
2·You even have to supply that external file as part of the constructor, as in Listing 1.
您甚至必须提供相应的外部文件作为构造函数的一部分,如清单1所示。
3·In the code above, the constructor of the parent class takes one argument, an integer representing the layout.
在上述代码中,父类的构造函数接受一个参数,一个表示布局的整型参数。
4·To deal with this, you can generate a stack trace in the constructor of the exception object during the throw exception statement.
为了解决这一问题,可以在抛出异常语句期间,在异常对象的构造函数中生成一个堆栈跟踪。
5·It reads the namespaces only one time in advance in the constructor.
它只在构造函数内提前读取一次名称空间。
1·In this case, the annotations are specified within the constructor parameters instead of above the field name.
在这种情况下,注解指定在构造器参数中,而不是放在字段名称上面。
2·I add a string name and port class variable and then two functions: a constructor and the server.
我添加了一个字符串名称、一个端口类变量,还有两个函数:构造器和服务器。
3·Register the attributes in the constructor.
在构造器中注册属性。
4·The constructor also invokes a method to load some configuration properties.
该构造器还调用一个方法来加载一些配置属性。
5·To create an object definition from which you can repeatedly create new instances, you must first define its constructor.
创建一个对象定义,您能通过它重复创建新实例,但必须先定义其构造器。