單項(xiàng)選擇題

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

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

微信掃碼免費(fèi)搜題