Home » JAVA Programming » Regular Expressions » Question
  1. What does public int end(int group) return?
    1. offset from first character of the subsequent group
    2. offset from first character matched
    3. offset from last character of the subsequent group
    4. offset from last character matched
    5. None of these
Correct Option: C

public int end(int group) returns offset from the last character of the subsequent group.



Your comments will be displayed only after manual approval.