• +91 9723535972
  • info@interviewmaterial.com

Regular Expressions Interview Questions and Answers

Question -
What are the type of classes in Java?



Answer -

There are three types of classes in Java:
  • Pattern Class - Used as a compiled representation of a regular expression.It provides no public constructors.
  • Matcher Class - Used as an engine which interprets the pattern and also performs match operations against an input string.
  • PatternSyntaxException - Used in indicating a syntax error in a regular expression pattern.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners