MCQ
What does 'length' refer to for an object of String class ?
  • A
    attribute
  • method
  • C
    class variable
  • D
    class name

Answer

Correct option: B.
method
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