Contents

If a derived class object is created, which constructor is called first?
a) base class constructor 
b) derive class constructor
c) depends on how we call
d) none of these

a

Which of the following operator used with object to access member function?
a) dot (.)
b) @      
c) $                        
d) &

a

What is the correct format of accessing object?
a) object. Function[];
b) object. Function();
c) object. Function{};
d) none of these

b

Which of the following access specifier are accessible only within the class?
a) public specifier               
b) private specifier
c) protected specifier 
d) none of these

b

Declaring data member with private access specifier is called…….
a) data hiding                     
b) data binding
c) data specification          
d) none of these

a

Which of the following access specifier are accessible from anywhere inside and outside the class?
a) public specifier             
b) private specifier
c) protected specifier          
d) none of these

a