Search:

Type: Posts; User: wawawarrior

Search: Search took 0.22 seconds.

  1. Replies
    5
    Views
    349

    Re: Instance Variable Won't Change!!

    Oh crap I'm an idiot.. Thanks for your help!

    Invoice myBill = new Invoice("SeaGraphics", 150, "06152013");
    System.out.println(Invoice.getNumberOfInvoices());
    ...
  2. Replies
    5
    Views
    349

    Re: Instance Variable Won't Change!!

    Hmm. I'll explain what I thought I was doing and you can tell me where I went wrong.

    'numberOfInvoices' is supposed to be a counter that increments every time an "invoice" is created, in order to...
  3. Replies
    5
    Views
    349

    Instance Variable Won't Change!!

    Good Evening Everyone,

    I am having trouble getting my instance variable named "invoiceNumber" to update as the class variable "numberOfInvoices" is incremented.

    Would appreciate any help....
Results 1 to 3 of 3