Java Programming
Accenture 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

\s matches any whitespace character.

Related Accenture Java Programming questions

Practice more Accenture Java Programming questions

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