InterviewSolution
Saved Bookmarks
| 1. |
Which among the following is true?(a) Member functions can never be private(b) Member functions can never be protected(c) Member functions can never be public(d) Member functions can be defined in any access specifierThe question was posed to me in an international level competition.This is a very interesting question from Types of Member Functions in section Member Functions & its Types of Object Oriented Programming |
|
Answer» Correct ANSWER is (d) Member functions can be defined in any ACCESS SPECIFIER |
|