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

Published: 07 May 2020
on channel: 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...  


On this page of the site you can watch the video online Text-based Menu Driven Program in Java [Bonus Material] 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 3,392 times on youtube and it was liked by 111 viewers. Enjoy your viewing!