Search:

Type: Posts; User: maths94

Search: Search took 0.18 seconds.

  1. Replies
    7
    Views
    853

    Re: Unknown problem with output

    public void toString (Bacon, Cheese, Egg, Prawn, bCost, eCost,pCost){
    }

    When i do this i get void is an invalid type for the variable toString. But, when i try without i still receive errors....
  2. Replies
    7
    Views
    853

    Re: Unknown problem with output

    Don't really understand what you mean. However, i've putten

    CrustType thin = new CrustType("thin", thinCost);
    CrustType deepDish = new CrustType("DeepDish", deepCost);
    ...
  3. Replies
    7
    Views
    853

    Re: Unknown problem with output

    I had attached a weblink that shows the output.

    Dominos Pizza
    Enter your first name: js
    Please, enter your delivery address: s
    What is your preference of crust?
    CrustType@41171d93...
  4. Replies
    7
    Views
    853

    Unknown problem with output

    Hey guys,

    I currently have the following code(look below). When program is ran no errors occur, however the output isn't correct, and i've spent the past few hours trying to figure out but can't....
Results 1 to 4 of 4