这些新对象的构造函数访问PDOM以存储其信息。
The constructors for these new objects access the PDOM to store their information.
对象的构造函数和render方法看上去是这样的
The object's constructor and its render method look like this
相反,惟一的构造函数被设计成接受Customer对象。
Instead, the lone constructor is designed to accept a Customer object.
对象的引用可以以几种方式逃避它的构造函数,直接和简接都可以。
An object's reference can escape its constructor in several ways, both directly and indirectly.
你应该创建一个拷贝构造函数的每个对象自己。
You should create a copy constructor for each object yourself.
在下面的方法中,您在默认的构造函数中创建Shell对象。
In the method (shown below), you create a Shell object with the default constructor.
构造函数和析构函数是面向对象程序设计中的难点。
The construction function and the destruction function are difficult parts in object-oriented programming design.
构造函数的工作是初始化对象。
构造函数的工作是初始化对象。
应用推荐