Home » JAVA Programming » Regular Expressions » Question
  1. What is the significance of Matcher class for regular expression in java?
    1. Performs match in the string
    2. interpreted both pattern and performs match operations in the string
    3. interpretes pattern in the string
    4. All of above
    5. None of these
Correct Option: D

macther() method is invoked using matcher object which interpretes pattern and performs match operations in the input string.



Your comments will be displayed only after manual approval.