赞题库-背景图
单项选择题

About “class” and “object”, which one is incorrect?
A、Classes help achieve data abstraction and encapsulation.
B、Class contains member functions and member data. Access specifiers in C++ can only be public or private.
C、An object is known as instance of a given class.
D、Once a class is declared, the class name becomes a type name and can be used to declare variables.