Q21
What is the purpose of the `group()` method in Java regular expressions?
A.
It compiles a regular expression
B.
It checks if a string matches the pattern
C.
It returns the matched subsequence
AnswerD.
It counts the number of matches
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board