首页题库练习题目详情
面向对象程序设计单选题中等

以下哪项是类成员函数的正确定义方式?

Aint area() { return 0; }
Bint area();
Cvoid area();
Dvoid area() { return; }