Microsoft
98-361 · Question #10
98-361 Question #10: Real Exam Question with Answer & Explanation
Sign in or unlock 98-361 to reveal the answer and full explanation for question #10. The question stem and answer options stay visible for context.
Question
You need to allow a consumer of a class to modify a private data member. What should you do?
Options
- AAssign a value directly to the data member.
- BProvide a private function that assigns a value to the data member.
- CProvide a public function that assigns a value to the data member.
- DCreate global variables in the class.
Unlock 98-361 to see the answer
You've previewed enough free 98-361 questions. Unlock 98-361 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.