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: https://youtu.be/yO_ctH4mEk4
Part 1: https://youtu.be/vDGqXJNXQu0
Part 2: https://youtu.be/lcWV7hLYByk
Part 3: https://youtu.be/eEfuiQx1dQM