DanH957 / ATM-Machine

ATM machine written in Java, with interface.
205 stars 150 forks source link

Encountered invalid access modifiers, faulty constructors, missing methods #8

Open milodubois opened 2 years ago

milodubois commented 2 years ago

First, thank you for such great code. A few points:

Lines 15 and 16 in Account.java are undefined:

            setPIN(thePIN);
            setAvailableBalance(theAvailableBalance);

Consequently lines 42 and 74 throw errors.

Moreover, lines 30, 92, and 93 throw errors because of undefined methods in BankDatabase.java.

And, per issue #1 , deposit slot is missing. Do you have refactored code available? Otherwise, this is wonderful, but the errors may cause confusion for folks using this app and associated code for the first time.

Thank you for constructing this project, which has been really useful for me and my mentees/students.

Cheers
Milo