关键字 : static 访问方式 Student{ static run(){};}int main(){ //访问方法1 Student stu; stu.run(); //访问方法2 Student::run();}