SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 5 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 15 Oct 2017 My Price 10.00

I'm having troubles building the SNCheese file for this assignmetn.

Unit 5 Chapter 14 AssignmentGrading Information:This Program isdueonDate Specified.Comments areREQUIRED; flow charts and pseudocode areNOT REQUIRED.DirectionsPointsThe files must be called <LiFiUnit5Ch14.java> (driver program)LiFiPizza.javaLiFiCheese.java (which extends LiFiPizza)The files must be called as specified above, (LiFi = Your Last Initial Your First Initial)Proper coding conventions required the first letter of the class start with a capitalletter and the first letter of each additional word start with a capital letter.Only submit the .javafiles needed to make the program run. Do not submit the.classfiles or any other files.5%Style ComponentsInclude properly formatted prologue, comments, indenting, and other style elementsas shown in Chapter 2 starting page 64 and Appendix 5 page 881-892.5%Topics covered in chapterTopics with * are covered in this assignment. Ensure you use every item listed below in yourcompleted assignment.*Object class*equals methodtoString method*PolymorphismAbstractInterfacesProtected access modifierBasic RequirementsWrite a super basic Pizza ordering system using Polymorphism.The setCrust method varies based on which type of Pizza is instantiated.LiFiUnit5Ch14Get input for Cheese or Meat pizza.30%
Background image of page 1
Declare a single pizza to be used for both Cheese and MeatIf a Meat pizza is selectedoinstantiate your pizza as a LiFiPizza pizza with zero argumentsosetType to Meat via the constructorIf a Cheese pizza is selected,oInstantiate your pizza as a LiFiCheese pizza with zero arguments.Output of your order varies based on Cheese or Meat (See Example)LiFiPizza.javaDefault constructor should set pizzaType to Meat and cost to $5setCrust()oCall setCrust and allow selection of Thin or Thick crustsetIngredients()oand allow for only 1 ingredientsetCost()oadd $2 to the initial cost which is $5Include accessor methods as needed.Ensure all instance variables are private30%LiFiCheese.javaSet the type to cheese via the constructor body.setCrust() – (notice this is different from LiFiPizza setCurst method)oAutomatically set it to “Thin” crust, no option to change, sorry.30%NOTE: Complete your activity and submit it by clicking “Submit Assignment”Total Percentage100%SampleYour output will vary based on Input.
Background image of page 2

Attachments:

Answers

(5)
Status NEW Posted 15 Oct 2017 09:10 AM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)