I want to represent an empty character in Java as \"\" in String...
\"\"
Like that char ch = an empty character;
char ch = an empty character;
Actually I want to rep
char means exactly one character. You can't assign zero characters to this type.
char
That means that there is no char value for which String.replace(char, char) would return a string with a diffrent length.
String.replace(char, char)