Name a class named Meal that includes a string variable for the meal's descriptions, an array of strings that hold up to five of the Meal's components(for example "roast chicken:, "mashed potatoes", and "green beans"), and a numeric variable that holds the calorie count. Include a method that prompts the user for a value from each field. Also create two overloaded methods named display(). The first method takes no parameters and displays the Meal details. The second takes a numeric parameter that indicates how many of the Meal's components to display, or an error if the parameter value is less than 0 or more than 5.
Name an application that declares two meal objects, sets their value, and demonstrates how both method versions can be called.