🚀 Join 1,200+ candidates currently preparing with PrimerPrep
Java Programming
Accenture Technical PrimereasyJava Programming5. Regular Expression

What is the regular expression to match a whitespace character in a string?

Answer options

A
True
B
False

Correct answer: True

Explanation

Quick AnswerThe correct answer is True because it directly addresses the core logic of Java Programming.

\s matches any whitespace character.

Related Accenture Java Programming questions

Practice more Accenture Java Programming questions

PrimerPrep has 1400+ practice questions, 2026 simulations and coding hands-on — all free.

Watch Walkthroughs!