InterviewSolution
Saved Bookmarks
| 1. |
How many types of access specifiers are provided in OOP (C++)?(a) 1(b) 2(c) 3(d) 4The question was posed to me in an online quiz.This intriguing question comes from Access Specifiers topic in division Access Specifiers of Object Oriented Programming |
|
Answer» RIGHT answer is (c) 3 For 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. |
|