Contents

Which type pf member variable may be accessed before creating any object of class?
a) inline 
b) public               
c) static 
d) local

c

Which type of function is not member of class but can access its private members?
a) constructor                      
b) destructor
c) friend                                               
d) static

c

Which section of class can a member function of that class?
a) private                              
b) protected
c) public                                
d) all of these

d

Which section of class can non-member function access?
a) private                              
b) protected
c) public                                               
d) all of these

c

Which of the following is collection of data and functions?
a) methods                           
b) objects
c) functions                          
d) class

b

Which of the following are examples of object oriented languages?
a) C++                                   
b) Smalltalk
c) Java                                  
d) all of these

d