Java Programming
Accenture PrimermediumJava Programming05 Regular Expression

\B means A word boundary

Answer options

A
\B matches a non-word boundary
B
\b matches a word boundary
C
\B is same as \b
D
\b matches end of string

Correct answer: \B matches a non-word boundary

Explanation

\B (uppercase) matches a non-word boundary position; \b (lowercase) matches a word boundary.

Related Accenture Java Programming questions

Practice more Accenture Java Programming questions

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