Search:

Type: Posts; User: theoneyouenvy

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    1,747

    Re: +calculateCharge():Void

    nope, im a complete java noob and am just looking to pass a class haha
  2. Replies
    7
    Views
    1,747

    Re: +calculateCharge():Void

    so it would be


    public double calculateCharge()
    {
    return 0;
    }

    ?
  3. Replies
    7
    Views
    1,747

    Re: +calculateCharge():Void

    I guess how to code it, I have no clue how to do a void return.

    So far I have


    public double calculateCharge()
    {

    }
  4. Replies
    7
    Views
    1,747

    +calculateCharge():Void

    I have an assignment that asks me to write a class:



    -------------------------
    Computer
    -------------------------
    -brand:Brand
    -price:Double
    -quantity:Integer
Results 1 to 4 of 4