Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started