2016-12-12 42 views

回答

3

這是調用the constructor of the super-class

一般來說,for calling a method of the superclass語法,你會使用語法

outputs = [email protected](obj, input, arguments) 

然而,調用構造函數是不同的,因爲你使用的變量名代替上述示例中的methodName

obj = [email protected](input, arguments) 

在你的情況,而不是obj,你使用s作爲引用類實例的變量(因爲你將它定義爲構造函數的輸出),所以你基本上調用slexpdataset的構造函數並傳遞它顯示的參數列表。