The return type of replace(CharSequence old, CharSequence new) method is 'String'.
What is the return type of replace(char old, char new) method of java.lang.String class in java?
What is the return type of concat(String str) method of java.lang.String class in java?
What is the return type of isEmpty() method of java.lang.String class in java?
What is the return type of equals(Object another) method of java.lang.String class in java?
What is the return type of join(CharSequence delimiter, CharSequence... elements) method of java.lang.String class in java?