I'm making a banking class along with my actual main class and I'm extending the GUI class as follows
Banking extends WoodCutter
Now, when I make an object of that class in my main as follows
Banking bank = new Banking();
bank.banking();
I have a banking method in my Banking class
However, I get these two errors when trying to make use of the bank method.
I would be grateful for some help. Thanks!
Edit: For further information I can get it to work if I just make the method inside the main, my point is I'm trying to figure out how to use classes but I'm not seeing what I am doing wrong.