Text-based Menu Driven Program in Java [Bonus Material]

Publié le: 07 mai 2020
sur la chaîne: Stephen Sheridan
3,392
111

This video adds the ability to create menu items dynamically by reading items from an inventory text file. The inventory file uses a comma separated format to store menu items and their prices. A readInventoryFile method is developed to read the inventory file line by line and parse out the menu data in order to create MenuItem objects dynamically.

This allows the menu system to be completely flexible without changing a single line of code.

Related videos
Java Text File I/O Introduction:    • Java Text File I/O Introduction  
Part 1:    • Text-based Menu Driven Program in Jav...  
Part 2:    • Text-based Menu Driven Program in Jav...  
Part 3:    • Text-based Menu Driven Program in Jav...  


Sur cette page du site, vous pouvez voir la vidéo en ligne Text-based Menu Driven Program in Java [Bonus Material] durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Stephen Sheridan 07 mai 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,392 fois et il a aimé 111 téléspectateurs. Bon visionnage!