mirror of
https://github.com/sjsdfg/effective-java-3rd-chinese.git
synced 2025-01-31 06:40:51 +08:00
23 lines
367 B
Plaintext
23 lines
367 B
Plaintext
""
|
|
"fo\"obar"
|
|
"foo\
|
|
bar"
|
|
''
|
|
'fo\'obar'
|
|
'foo\
|
|
bar'
|
|
|
|
----------------------------------------------------
|
|
|
|
[
|
|
["string", "\"\""],
|
|
["string", "\"fo\\\"obar\""],
|
|
["string", "\"foo\\\r\nbar\""],
|
|
["string", "''"],
|
|
["string", "'fo\\'obar'"],
|
|
["string", "'foo\\\r\nbar'"]
|
|
]
|
|
|
|
----------------------------------------------------
|
|
|
|
Checks for strings. |