What is the purpose of the `quote()` method in Java regular expressions?
A. It returns a literal pattern string for the specified string
B. It quotes a matched subsequence
C. It compiles a regular expression
D. It checks if a string matches the pattern
Answer: Option A

Join The Discussion