private constructor
私有构造函数
以上为机器翻译结果,长、整句建议使用 人工翻译 。
A private constructor is a special instance constructor.
私有构造函数是一种特殊的实例构造函数。
youdao
The following is an example of a class using a private constructor.
以下是一个类别使用私用建构函式的范例。
Do classes that should not be instantiated have a private constructor?
不需要实例化的类有私有构造函数吗?
应用推荐
模块上移
模块下移
不移动