why so many “\” s there in this code…what is the usage of it..?

前端 未结 3 682
生来不讨喜
生来不讨喜 2021-01-22 23:16

I am a beginner to servlets..and I got a question seeing this code written inside a servlet.I\'ll be thankful if someone explain me the usage of soo many\"\\\"s here

<         


        
3条回答
  •  无人及你
    2021-01-22 23:59

    It's to indicate that the character " is not a special character that marks the end of the string, but it's part of the string.

提交回复
热议问题