C++ class contains data members and….
a) methods
b) clients
c) interfaces
d) files
What is the class definition?
a) must have constructor
b) must end with semicolon
c) provides class interface
d) both b & c
The member of a class object are accessed with…..
a) dot operator
b) extraction operator
c) insertion operator
d) assignment operator
Which of the class member are accessible from anywhere?
a) public
b) protected
c) private
d) final
The default access specifier for class member is……
a) public
b) protected
c) private
d) final
Which type of class members can only be used by its own methods and friends?
a) public
b) protected
c) private
d) final