Java Programming
Accenture PrimermediumJava Programming05 Regular Expression

Which of the following matches X occurs n or more times?

Answer options

A
X{n,}
B
X{n}
C
X{n,m}
D
X+

Correct answer: X{n,}

Explanation

X{n,} matches X repeated n or more times in Java regex.

Related Accenture Java Programming questions

Practice more Accenture Java Programming questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.