Do while Loop to show a menu
问题 I have created my menu with do~while(true); but every time the user insert a number, instead of running the program it shows the the menu again! what do you think? // my main method public static void main(String[] args) { DataReader reader = new DataReader(); // The reader is used to read data from a file // Load data from the file if(reader.loadData(args[0])) { // The filename is entered using a command-line argument vehicles= reader.getVehicleData(); // Store the arrays of Vehicle //