C++: Classes And Objects Questions 3

How many specifiers are present in access specifiers in class?

A. 2
B. 1
C. 4
D. 3

Which of these following members are not accessed by using a direct member access operator?

A. Public
B. Private
C. Protected
D. Both B & C

Which other keywords are also used to declare the variables/object other than class?

A. Struct
B. Union
C. Object
D. Both struct & union

Which of the following can be overloaded?

A. Object
B. Operators
C. Both A & B
D. None of the above

How can we make a class abstract?

A. By declaring it abstract using the static keyword
B. By declaring it abstract using the virtual keyword.
C. By making at least one member function as pure virtual function
D. By making all member functions constant