Java Programming
primer-original-v2mediumJava Programming05 Regular Expressionprimer-original-v2

\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

Quick AnswerThe correct answer is \B matches a non-word boundary because it directly addresses the core logic of Java Programming.

This question has been retained as-is due to its unique context.

Related Java Programming questions

Practice more Java Programming questions

PrimerPrep has independently reviewed practice questions and coding exercises — all free.