Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )


Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )

This error comes when we give path

D:\Development\eclipse_workspace\

instead of

D:\\Development\\eclipse_workspace\\

We should escape the backslash with \

No comments:

Post a Comment

Please share your views and comments below.

Thank You.