Java MCQ Set 1 1. Which of the following is not a class of java.util.regex? a) Pattern class b) matcher class c) PatternSyntaxException d) Regex class AnswerAnswer: d [Reason:] java.util.regex consists 3 classes. PatternSyntaxException indicates syntax error in regex. 2. What is the significance of Matcher class for regular expression in java? a) interpretes pattern…