Contents

The attribute of the class is called…
a) object                             
b) data members
c) function                  
d) parameter

b

The operations of the class are called
a) object                                  
b) data members
c) member function
d) parameter

c

In C++ functions are also called
a) definitions
b) methods
c) concepts            
d) organizers

b

Members which are not intended to be inherited are declared as…….
a) public member function       
b) private member function
c) protected member function
d) none of these

b

Which of the following is not a valid class specifier?
a) private              
b) pointer
c) public               
d) protected

b

What is the correct syntax for class?
a) class name{};          
b) class name[];
c) class name();
d) none of these

a