【单选题】4.3 有一个类A,对于其构造方法的声明正确的是()。

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

时间:2023-02-09 15:26:19

相似题目