ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which syntax among the following shows that a member is private in a class?
Correct Answer: D — private functionName(parameters)
The function declaration must contain private keyword follower by the return type and function name. Private keyword is followed by normal function declaration.