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

1 thought on “Which of the following statement is correct?”

Leave a Comment