单选题 在下面程序中,编译时出现错误的是 ______。
Class A //(1)
{
public: //(2)
A(){
f(); //(3)
}
void B(){
f();
}
virtual void f()const=0; //(4)
};
【正确答案】 C
【答案解析】