The program simulates a restaurant billing system that allows adding order and finding out the total bill cost. The driver program creates a Bill instance and that instance can return the required quantities.
You'll learn most by trying my code while watching the video.
Please post your improvement on my code on the comments.
Concepts:
Class and method
Array
ArrayList
Playlist of my Java course
https://www.youtube.com/playlist?list=PLtQo0sxRN7JLr647f8RTzS58u8Rv5jxT5
Playlist of my Java examples
https://www.youtube.com/playlist?list=PLtQo0sxRN7JKKla3_GAF05dySjyy3nINa