单项选择题

有如下类声明:
class SAMPLE
int n;
public:
SAMPLE(int i=0):n(i)
void setValue(mt nO);

下列关于setValue成员函数的实现中,正确的是

A.SAMPLE::setValue(int nO)n=nO;
B.void SAMPLE::setValue(int nO)n=nO;
C.void setValue(int nO)n=nO;
D.setValue(int nO)n=nO;