You can refer to a static method either through an object as you can with any method,or with the special additional syntax ClassName.method( ).

 
  • 既可象对其他任何方法那样通过一个对象引用静态方法,亦可用特殊的语法格式“类名.;方法()”加以引用。
今日热词
目录 附录 查词历史