Advertisements

»Java Class and Methods

Postby Normann » Thu Nov 29, 2012 3:59 pm

Offline
Normann
Posts: 1
Joined: Thu Nov 29, 2012 3:44 pm
Hi,

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,

Regards,
Naveen
Regards,
Norman N

Re: »Java Class and Methods

Postby depsai » Wed Mar 06, 2013 5:11 pm

Offline
depsai
Posts: 1
Joined: Wed Mar 06, 2013 4:57 pm
collection of datatypes and variables and methods , members are called java class and methods