C++: Classes And Objects Questions 3

Q.11.
How many specifiers are present in access specifiers in class?

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

Q.12.
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

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

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

Q.14.
Which of the following can be overloaded?

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

Q.15.
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