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

Опубликовано: 07 Май 2020
на канале: 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...  


На этой странице сайта вы можете посмотреть видео онлайн Text-based Menu Driven Program in Java [Bonus Material] длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Stephen Sheridan 07 Май 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,392 раз и оно понравилось 111 зрителям. Приятного просмотра!