單項選擇題

下列選項可以作為Cal類構(gòu)造方法的是()。

A.void Cal(int x){}
B.Cal(int x){}
C.Cal(int x)
D.void cal(int x){}

微信掃碼免費搜題