MCQ
To perform which of the following operation String class of Java does not provide any method?
  • A
    To compare two strings
  • B
    To concatenate two strings
  • To reverse string
  • D
    To split a string

Answer

Correct option: C.
To reverse string
To reverse string

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