Question: Please use Java. Thank you non '11-1 '12. I '13. I 14-1-15. I '16.+17-1 ,18 227100479 [after 9.7-easy] Party Guest List : Write a complete
Please use Java. Thank you non '11-1 '12. I '13. I 14-1-15. I '16.+17-1 ,18 227100479 [after 9.7-easy] Party Guest List : Write a complete program that stores and prints participants in a party. As part of your program, write a Party class that implements these members: An instance constant that holds the maximum number of guests. Three instance variables that hold, respectively, the actual number of guests, an array of the names of the guests, and the party host's name. me .A constructor that stores the maximum number of guests-and the host's na . A helper method, isOnList, that receives a parameter named guest. The method returns .Aprint Party method that prints the party's host and guests. An addGuest method that adds a guest to the guest list or prints an error message if the guest is already on the list or there's no more room on the guest list. true if guest is on the guest list and returns false otherwise
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
