How to use replace () method in Java?

Published --