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) Method

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