1.

Which of the following is not a class of java.util.regex?(a) Pattern class(b) matcher class(c) PatternSyntaxException(d) Regex class

Answer» Correct answer is (d) Regex class

Explanation: java.util.regex consists 3 classes. PatternSyntaxException indicates syntax error in regex.


Discussion

No Comment Found

Related InterviewSolutions