How to replace a word in String in Java

How to replace a word in String in Java

More to explore

Based on this image's title: “How to replace a word in String in Java