$std = new student(100);//传入scores 另外student的构造函数应该这样写function __construct($num) { parent::__construct('someone',24,'123445');//调用父类的构造 ...
確定! 回上一頁