Question: Write a Java program with four classes in four separate source code files. The first class is BackyardBBQ. You use a charcoal or propane grill
Write a Java program with four classes in four separate source code files.
The first class is BackyardBBQ. You use a charcoal or propane grill to cook backyard BBQ
The second class is ThanksgivingDinner. You use an oven and a roasting pan to cook a turkey.
The third class is HeartyStew. You use a crockpot or stovetop pot to cook stew.
Each of these three classes must implement the interface MealCook that is supplied with this assignment. You are free to select any attributes and methods you like for these classes, so long as you follow good practices for encapsulation and include a proper toString method.
MealCook.javaDownload MealCook.java
The fourth class is CookingDinner. This will include a runnable main method. When run, the program should print out the course, assignment, date, and student name to the screen. Then instantiate an object of each type of dinner and print the status of each object to the screen.
Turn in:
Program documentation as described in Project
Four java source code files
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
