判斷題

造函數(shù)用于創(chuàng)建類的實例對象,構(gòu)造函數(shù)名應與類名相同,在類中必須定義構(gòu)造函數(shù),且只能定義一個構(gòu)造函數(shù)。

答案: 錯誤
微信掃碼免費搜題