Hi All,
I am working on my first final project for JAVA certification. I am trying to make a simple bank account. The bank account contains Transactions and my main method is going to be in the Bank Statement, which will tell the Bank Account to Process Transactions.
I am stuck at my Transaction Level code. Its so easy I do not know how I am messing up. Any help is appreciated.
Here is my code - (very basic, I know)
Here is the error message
C:\Users\ch103\JAVA1>javac Transaction.java
Transaction.java:17: ';' expected
public double getTotal()
^
Transaction.java:22: class, interface, or enum expected
}→
^
2 errors
I have ensured that my number of opening brackets equals the number of closing brackets, aside from that I believe I should compile without error...
Thank You everyone for your time and help!
ch103