Which of the following is not a class of java.util.regex?
(a) Pattern class
(b) matcher class
(c) PatternSyntaxException
(d) Regex class
(a) Pattern class
(b) matcher class
(c) PatternSyntaxException
(d) Regex class
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Correct answer is (d) Regex class
Explanation: java.util.regex consists 3 classes. PatternSyntaxException indicates syntax error in regex.