bank account number have to be a constant
This commit is contained in:
parent
c34ea164f2
commit
b0f40f726e
@ -23,7 +23,7 @@ public class Account {
|
|||||||
/**
|
/**
|
||||||
* The bank account number.
|
* The bank account number.
|
||||||
*/
|
*/
|
||||||
public long number = 0;
|
public final long number;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor to create a new bank account.
|
* Constructor to create a new bank account.
|
||||||
|
Loading…
Reference in New Issue
Block a user