Which Of The Following Statement Is Correct #379
Which of the following statement is correct?
This multiple choice question (MCQ) is related to the book/course
gs gs128 Java.
It can also be found in
gs gs128 Java String Handling - Searching & Modifying a String in java - Quiz No.1.
Which of the following statement is correct?
replace() method replaces all occurrences of one character in invoking string with another character
replace() method replaces only first occurrences of a character in invoking string with another character
replace() method replaces all the characters in invoking string with another character
replace() replace() method replaces last occurrence of a character in invoking string with another character