單項(xiàng)選擇題

有一個(gè)類Demo,對(duì)與其構(gòu)造方法的正確聲明是()

A.void Demo(int x){…}
B.Demo(int x){…}
C.Demo Demo(int x){…}
D.int Demo(){}

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