In previous chapters, you developed classes that work with catering event information for Carly’s… 1 answer below »

Stuck with a difficult assignment? No time to get your paper done? Feeling confused? If you’re looking for reliable and timely help for assignments, you’ve come to the right place. We promise 100% original, plagiarism-free papers custom-written for you. Yes, we write every assignment from scratch and it’s solely custom-made for you.


Order a Similar Paper Order a Different Paper

Chapter 8. CaseProblem1. need solution please!! Thank you very much!Case Problems l. In previous chapters, you developed classes that work with catering event information for Carlys Catering, Now mo the Event and EventDemo classes dify as follows: Modify the Event class to include an integer field that holds an event type. Add a final String array that holds names of the types of events that Carlys caters wedding, baptism, birthday, corporate, and other Include get and set methods for the integer event type field. If the argument passed to the method that sets the event type is larger than the size of the array of String event types, then set the integer to the element number occupied by other. Include a get method that returns an events String event type based on the numeric event type To keep the EventDemo class simple, remove all the statements that compare event sizes and that display the invitation Strings. Modify the EventDemo class so that instead of creating three single Event objects, it uses an array of three Event objects. Get data for each of the objects, and then display all the details for each object. Save the files as Ewentjava and EventDemo,java. 2. In previous chapters, you developed classes that hold rental contract information for Sammys Seashore Supplies. Now modify the Rental and RentalDemo classes as follows: Modify the Rental class to include an integer field that holds an equipment type Add a final String array that holds names of the types of equipment that Sammys rents-jet ski, pontoon boat, rowboat, canoe, kayak, beach chair, umbrella, and other. Include get and set methods for the integer equipment type field. If argument passed to the method that sets the equipment type is larger the than the size of the array of String equipment types, then set the integer to the element number occupied by other. Include a get method that returns a rentals String equipment type based on the numeric equipment type To keep the RentalDemo class simple, remove all the statements that compare rental times and that display the coupon Strings Modify the RentalDemo class so that instead of creating three single Rental objects, it uses an array of three Rental objects, Get data for each of the objects, and then display all the details for each object. Save the files as Rental java and RentalDemo,java

In previous chapters, you developed classes that work with catering event information for Carly’s Catering. Now modify the Event and EventDemo classes as follows: Modify the Event class to include an integer field that holds an event type. Add a final String array that holds names of the types of events that Gariy’s caters- wedding, baptism, birthday, corporate, and other. Include get and set methods for the integer event type field. If the argument passed to the method that sets the event type is larger than the size of the array of String event types, then set the integer to the element number occupied by “other”. Include a get method that returns an event’s String event type based on the numeric event type. To keep the EventDemo class simple, remove all the statements that compare event sizes and that display the invitation Strings. Modify the EventDemo class so that instead of creating three single Event objects, it uses an array of three Event objects. Get data for each of the objects, and then display all the details for each object. Save the files as Event.java and EventDemo.java. In previous chapters, you developed classes that hold rental contract information for Sammy’s Seashore Supplies. Now modify the Rental and Rental Demo classes as follow’s: Modify the Rental class to include an integer field that holds an equipment type. Add a final String array that holds names of the types of equipment that Sammy’s rents-jet ski, pontoon boat, rowboat, canoe, kayak, beach chair, umbrella, and other. Include get and set methods for the integer equipment type field. If the argument passed to the method that sets the equipment type is larger than the size of the array of String equipment types, then set the integer to the element number occupied by “other”. Include a get method that returns a rental’s String equipment type based on the numeric equipment type. To keep the Rental Demo class simple, remove all the statements that compare rental times and that display the coupon Strings. Modify the Rental Demo class so that instead of creating three single Rental objects, it uses an array of three Rental objects. Get data for each of the objects, and then display all the details for each object. Save the files as Rental.java and RentalDemo.java.

Writerbay.net

We’ve proficient writers who can handle both short and long papers, be they academic or non-academic papers, on topics ranging from soup to nuts (both literally and as the saying goes, if you know what we mean). We know how much you care about your grades and academic success. That's why we ensure the highest quality for your assignment. We're ready to help you even in the most critical situation. We're the perfect solution for all your writing needs.

Get a 15% discount on your order using the following coupon code SAVE15


Order a Similar Paper Order a Different Paper