要声明类Point的构造方法,下面正确的是()
A.intPoint(){}
B.Point(intx){}
C.voidpoint(intx){}
D.point(intx){}
正确答案:A
猜你喜欢