In a Java program, the user is prompted for a series of words until they enter "stop" (in any case). What loop construct is commonly used to implement this functionality?
A) for loop B) while loop C) do-while loop D) switch statement E) if-else statement