|
Ah ha, great stuff as usual.
I have an issue with my increment. for my accno (account number) I want to increment the number by one for each customer. so I do this:
// outside class
private int accno1 = 0;
then in public account() I do this:
accno = accno1++;
But when I run the app all the customers IDs are the same value.
|