Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 438 Weeks Ago, 2 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Programming Posted 05 May 2017 My Price 8.00

Create a class named CabinRental that includes an integer

Every summer, Leeland Lakeside resort rents cabins by the week. Create a class named CabinRental that includes an integer field for the cabin number and a double field for the weekly rental rate. Include get methods for these fields and a constructor that requires an integer argument representing the cabin number. The constructor sets the weekly rate based on the cabin number; cabins numbered 1, 2, and 3 are $950 per week, and others are $1,100 per week. Create an extended class named HolidayCabinRental that is used for rentals during weeks that include summer holiday weekends. The constructor for this class requires a room number and adds a $150 surcharge to the regular rental rate. Write an application named DemoCabinRental that creates an object of each class, and demonstrate that all the methods work correctly. Save the files as CabinRental.java, HolidayCabinRental.java, and DemoCabinRental.java.

Answers

(8)
Status NEW Posted 05 May 2017 04:05 PM My Price 8.00

-----------

Attachments

file 1494000116-Answer.docx preview (270 words )
E-----------ver-----------y s-----------umm-----------er,----------- Le-----------ela-----------nd -----------Lak-----------esi-----------de -----------res-----------ort----------- re-----------nts----------- ca-----------bin-----------s b-----------y t-----------he -----------wee-----------k. -----------Cre-----------ate----------- a -----------cla-----------ss -----------nam-----------ed -----------Cab-----------inR-----------ent-----------al -----------tha-----------t i-----------ncl-----------ude-----------s a-----------n i-----------nte-----------ger----------- fi-----------eld----------- fo-----------r t-----------he -----------cab-----------in -----------num-----------ber----------- an-----------d a----------- do-----------ubl-----------e f-----------iel-----------d f-----------or -----------the----------- we-----------ekl-----------y r-----------ent-----------al -----------rat-----------e. -----------Inc-----------lud-----------e g-----------et -----------met-----------hod-----------s f-----------or -----------the-----------se -----------fie-----------lds----------- an-----------d a----------- co-----------nst-----------ruc-----------tor----------- th-----------at -----------req-----------uir-----------es -----------an -----------int-----------ege-----------r a-----------rgu-----------men-----------t r-----------epr-----------ese-----------nti-----------ng -----------the----------- ca-----------bin----------- nu-----------mbe-----------r. -----------The----------- co-----------nst-----------ruc-----------tor----------- se-----------ts -----------the----------- we-----------ekl-----------y r-----------ate----------- ba-----------sed----------- on----------- th-----------e c-----------abi-----------n n-----------umb-----------er;----------- ca-----------bin-----------s n-----------umb-----------ere-----------d 1-----------, 2-----------, a-----------nd -----------3 a-----------re -----------$95-----------0 p-----------er -----------wee-----------k, -----------and-----------
Not Rated(0)