I would like to know if we can validate 2 different Methods in Java Class.
Like, I would like to create 2 methods 1. Deposit & 2. Withdrawl.
Whenever I Deposit Amount, I wnt the Current Balance to show the updated amount. Same with Withdrawl also. If I withdrawl amount it should deduct the amount from the available balance and show the current balance..
Thank you in advance,