In this video we build upon the code implemented in part 2 of the Text-based menu system series of videos by adding user input validation through the Keyboard java class. We also, replace the three arrays used to store menu data with a much more flexible ArrayList of MenuItem objects. Using an array of MenuItem objects has some knock-on effects on the displayMenu method and the conditional block code in the main menu loop, so we modify those to make the code more modular.
Part 1: • Text-based Menu Driven Program in Jav...
Part 2: • Text-based Menu Driven Program in Jav...
User input validation using the Keyboard class: • Java Keyboard class for User Input Va...
ArrayList Introduction: • Introduction to the Java ArrayList Da...
On this page of the site you can watch the video online Text-based Menu Driven Program in Java [Part 3/3] with a duration of hours minute second in good quality, which was uploaded by the user Stephen Sheridan 07 May 2020, share the link with friends and acquaintances, this video has already been watched 7,976 times on youtube and it was liked by 175 viewers. Enjoy your viewing!