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
This question was posed to me in class test.
This interesting question is from Regular Expression topic in section Regular Expressions of Java
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)