Examveda
Examveda

Which of the following statement is correct?

A. reverse() method reverses all characters

B. reverseall() method reverses all characters

C. replace() method replaces first occurrence of a character in invoking string with another character

D. replace() method replaces last occurrence of a character in invoking string with another character

Answer: Option A


This Question Belongs to Java Program >> Strings

Join The Discussion

Related Questions on Strings