MCQ
Which of the following is an example of “getter” method (Access or method)?
  • get Length 0
  • B
    Get Length 0
  • C
    get length 1
  • D
    set Length 0

Answer

Correct option: A.
get Length 0
get Length 0

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