This video extends the text-based menu developed in part 1 of this tutorial by adding a static method to display the menu items. It also separates the menu data from the display method by create arrays that store the menu options and item names. We also add prices to our menu by including a prices array and finally we demonstrate some weaknesses in the menu option input by showing how we can crash the program with invalid input.
Check out part three of this tutorial
• Text-based Menu Driven Program in Jav...
Auf dieser Seite können Sie das Online-Video Text-based Menu Driven Program in Java [Part 2/3] mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Stephen Sheridan 10 April 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 11,690 Mal angesehen und es wurde von 307 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!