

MCQOPTIONS
Saved Bookmarks
1. |
what does public String replaceAll(string replace) do? |
A. | Replace all characters that matches pattern with a replacement string |
B. | Replace first subsequence that matches pattern with a replacement string |
C. | Replace all other than first subsequence of that matches pattern with a replacement string |
D. | Replace every subsequence of the input sequence that matches pattern with a replacement string |
E. | do?a) Replace all characters that matches pattern with a replacement stringb) Replace first subsequence that matches pattern with a replacement stringc) Replace all other than first subsequence of that matches pattern with a replacement stringd) Replace every subsequence of the input sequence that matches pattern with a replacement string |
Answer» E. do?a) Replace all characters that matches pattern with a replacement stringb) Replace first subsequence that matches pattern with a replacement stringc) Replace all other than first subsequence of that matches pattern with a replacement stringd) Replace every subsequence of the input sequence that matches pattern with a replacement string | |