MCQ
What is used to create a String object using 1 - Dary argument starting at ary[start] with len number of characters ?
  • A
    String (String strObj)
  • B
    String (string literal)
  • String (char ary[ ], int start, int len)
  • D
    String (char ary[ ])

Answer

Correct option: C.
String (char ary[ ], int start, int len)
C

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