To make a data member or method static, you simply place the keyword before the definition.

  • 为了将数据成员或方法设为static,只需在定义前置和这个关键字即可。
目录 查词历史