How to keep switch statement continuing in Java
问题 I'm looking to keep the following menu repeating: Choose an Option 1 - FIND 2 - IN-SHUFFLE 3 - OUT-SHUFFLE So that when a user selects an option (and this will be executed), afterwards they can select other options as well. Problem: My code keeps the menu repeating without stopping. import java.util.Scanner; public class MainMenu { public static void main(String[] args) { int userChoice; userChoice = menu(); } private static int menu() { Scanner scanner = new Scanner(System.in); System.out