How many types of access specifiers are provided in OOP (C++)?

Ngọc Trâm

New member
How many types of access specifiers are provided in OOP (C++)?
A. 1
B. 2
C. 3
D. 4
 
Answer: c
Explanation: Only 3 types of access specifiers are available. Namely, private, protected and public. All these three can be used according to the need of security of members.
 

Tìm kiếm

Back
Top