SELECT DueDate
FROM qryDueDates
WHERE DueDates <= DateAdd("d",60,Date())
有了这段代码,我有一个关于在子类中调用class Dad {
private $par1;
function __construct(int $par)
{
$this->par1 = $par;
}
}
class Child extends Dad {
private $par2;
function __construct(int $par1, int $par2)
{
$this->par2 = $par2;
parent::__construct($par1);
}
}
的问题。我们是应该在初始化变量之前调用它还是在我的例子中初始化它们之后调用它还是无关紧要?