What is the difference between / and \ in java programming?Give example.
Answers
Answered by
0
In windows backslashes are used to separate directories in file paths (ex: C:\Program Files\Common Files\Microsoft
shared\).
Forward
slashes can also be called simply "slashes," since they are much more
commonly used than backslashes. (Slashes are also used as division symbols and
in place of the word "or.") Therefore, the URL http://pc.net/helpcenter/ could be verbalized, "PC dot net slash help center.
Similar questions