mirror of
https://github.com/sjsdfg/effective-java-3rd-chinese.git
synced 2025-02-10 11:30:19 +08:00
23 lines
386 B
Plaintext
23 lines
386 B
Plaintext
""
|
|
''
|
|
"foo"
|
|
'foo'
|
|
"'foo'"
|
|
'"bar"'
|
|
" # comment "
|
|
|
|
----------------------------------------------------
|
|
|
|
[
|
|
["string", "\"\""],
|
|
["string", "''"],
|
|
["string", "\"foo\""],
|
|
["string", "'foo'"],
|
|
["string", "\"'foo'\""],
|
|
["string", "'\"bar\"'"],
|
|
["string", "\" # comment \""]
|
|
]
|
|
|
|
----------------------------------------------------
|
|
|
|
Checks for single-quoted and double-quoted strings. |