Which among the following can be used together in a single class?
(a) Only private
(b) Private and Protected together
(c) Private and Public together
(d) All three together
This question was addressed to me during an online exam.
I'm obligated to ask this question of Access Specifiers topic in chapter Access Specifiers of Object Oriented Programming