Home » JAVA Programming » Regular Expressions » Question
  1. What does public int start() return?
    1. returns start index of the previous match
    2. returns start index of the input string
    3. returns start index of the current match
    4. All of above
    5. None of these
Correct Option: A

public int start() returns index of the previous match in the input string.



Your comments will be displayed only after manual approval.