Any behavior that needs to accept a parameter defines a slot for it, which must be filled by whatever parent behavior activates it as a child.
任意需要接受参数的行为就定义了一个插槽,这些插槽需要其父行为在创建他们的时候填充。
There are four main types of parent behavior training, aimed at teaching parents more effective discipline strategies that use rewards and nonpunitive consequences.
对父母们的行为训练主要有四种类型,目的是教会父母们使用奖励而和不惩罚后果等更有效的纪律策略。
Although providing a default behavior in a parent class is perfectly legal, it is probably not the neatest way of doing things.
虽然在父类中提供默认行为是完全合法的,但这可能不是最巧妙的方法。
应用推荐