Dear Reader,
I guess it will be this: replaceAll("\\", "/");
Backslash has a special meaning in
Java such that "\n" means a new line and "\t" means a tab space.
Similarly, if you typed reaplceAll("\", "/") in this way, then the backslash is ignored and the character immediately following it (in this case ") is taken as a
String literal.
Umm, I am not being able to explain it properly so I'll leave it at this. Hope somebody comes along with better explanatory skills.