Contents

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

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

c

Constructor and Destructor


The special member function of class and it is used to initialize the class is called……
a) constructor
b) destructor
c) access specifier        
d) none of these

a