Package br.com.geekuniversity.section11
Class Account
java.lang.Object
br.com.geekuniversity.section11.Account
-
Constructor Details
-
Account
-
-
Method Details
-
withdraw
public void withdraw(float value) -
deposit
public void deposit(float value) Method to make a deposit- Parameters:
value
- To be deposited
-
getBalance
public float getBalance()Method getter of the balance attribute- Returns:
- The sum of the balance plus the limit
-
getLimit
public float getLimit()
-