adplus-dvertising
frame-decoration

Question

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

Posted under Java Programming

Answer: (d).Replace every subsequence of the input sequence that matches pattern with a replacement string

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does public String replaceAll(string replace) do?