統測
115年
[電機與電子群資電類] 專業科目(2)
第 47 題
在 C++ 語言中,想要定義類別名稱為 Student 的建構子(Constructor),下列何者正確?
- A Student(int wh){ ... }
- B int Student(int hw){ ... }
- C double Student(double weight, double height){ ... }
- D void Student(height, weight){ ... }