

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following statements about the regex API are true? |
A. | Instances of the Pattern class are used to match character sequences against a given pattern |
B. | The package java.util.regex includes an exception called PatternSyntaxException |
C. | Instances of Matcher class are used to represent regular expressions in the form of String type |
D. | None of the above |
Answer» C. Instances of Matcher class are used to represent regular expressions in the form of String type | |