Question: please write a java application Write a Party class with attributes for the number of guests expected and the location of the party. Include getters
please write a java application
Write a Party class with attributes for the number of guests expected and the location of the party. Include getters and setters.
Then, write a class DinnerParty that inherits from the Party class. It has an attribute for the dinner option the guests are going to have.
Include a driver where you create an instance of each and change some of the attributes using the getters and setters.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
