We can convert char to String in java using String. valueOf(char) method of String class and Character. toString(char) method of Character class .
Read moreHow do you replace a word with another in Java?
Java String replaceAll() example: replace word
Read moreWhat is replace method in Java?
Java String replace() Method The replace() method searches a string for a specified character, and returns a new string where the specified character(s) are replaced .
Read more