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
Answer: Option D
Join The Discussion