1. Create two classes (java file) named BirthdayParty and Party.
2. The Party class contains the main method. Instantiate an object of the class BirthdayParty named bday.
3. The BirthdayParty class should contain the following:
- A private variable of type int named as numGuests.
- get and set methods for numGuests.
- A method named displayMessage that will display a message "Enjoy the party!".
4. Your program should be able to accept an input coming from the user for a number of guests.
5. Followed by the confirmation of guest that will be attending. (see Sample output below).
6. Lastly, call the method that will display a message.
Sample output:
Enter number of guests: 40
40 guests have been invited.
Enjoy the party!