Which of the following are legal declaration and definition of a method
选项:
A:void method() {};;
B:void method(void) {};;
C:method() {};;
D:method(void) {};
发布时间:2024-04-17 10:26:39