MCQ
With which name accessor method is known due to convention?
  • Getter
  • B
    Setter
  • C
    Package
  • D
    Public

Answer

Correct option: A.
Getter
A

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