1.

Private member functions can be overloaded.(a) True(b) FalseI have been asked this question during an interview for a job.My question is from Private Access Specifier topic in portion Access Specifiers of Object Oriented Programming

Answer»

Right answer is (a) True

To explain I would say: The private functions can also be OVERLOADED. This can be done in USUAL way by having the same name of the member FUNCTION and having different SIGNATURE. Only thing is, they must be accessed from members of class only.



Discussion

No Comment Found

Related InterviewSolutions