MCQ
Which method is used, when we want to allow others to modify private data ?
  • A
    Accessor
  • Mutator
  • C
    Private
  • D
    Public

Answer

Correct option: B.
Mutator
B

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free