From b0f40f726ef4e21680384abb6288317f326ca036 Mon Sep 17 00:00:00 2001 From: Sebastian Brosch Date: Sun, 20 Oct 2024 19:03:44 +0200 Subject: [PATCH] bank account number have to be a constant --- VL03-02-01/src/main/java/de/dhbw/parprog/Account.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VL03-02-01/src/main/java/de/dhbw/parprog/Account.java b/VL03-02-01/src/main/java/de/dhbw/parprog/Account.java index bb8d8ad..4c99e83 100644 --- a/VL03-02-01/src/main/java/de/dhbw/parprog/Account.java +++ b/VL03-02-01/src/main/java/de/dhbw/parprog/Account.java @@ -23,7 +23,7 @@ public class Account { /** * The bank account number. */ - public long number = 0; + public final long number; /** * Constructor to create a new bank account.