If we do not explicitly define any constructors, then the compiler will generate the default constructor for us.

 
  • 如果没有为一个类显式定义任何构造函数,编译器将自动为这个类生成默认构造函数。
今日热词
目录 附录 查词历史