Question: do while loop for menu in java?
Answer: A great use for the Do-While loop is the menu: The menu is displayed continuously until the end user picks a value. If they type a certain menu item, then the code stops. While the example below may look complicated, pay close attention to the beginning and end of the code: Remember the condition is checked at the end!