class Car { private static $speed = 10; public static function getSpeed() { return self::$speed; } public static function speedUp() { return self::$speed+=10; } } class BigCar extends Car { public static function start() { parent::speedUp(); } }BigCar::start();echo BigCar::getSpeed(); 为什么要有个bigcar,BigCar::start();是做什么的,echo BigCar::getSpeed();bigcar不是另外个类吗,怎么能使用getspeed()
vLiang