Which of the following statement is correct?

Question:
Which of the following statement is correct?

1.reverseall() method reverses all characters.

2.reverse() method reverses all characters.

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

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

Posted Date:-2021-10-25 05:40:10


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!