Oh crap I'm an idiot.. Thanks for your help!
Invoice myBill = new Invoice("SeaGraphics", 150, "06152013");
System.out.println(Invoice.getNumberOfInvoices());
...
Type: Posts; User: wawawarrior
Oh crap I'm an idiot.. Thanks for your help!
Invoice myBill = new Invoice("SeaGraphics", 150, "06152013");
System.out.println(Invoice.getNumberOfInvoices());
...
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...
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....