finish comments on checking
This commit is contained in:
parent
3969ca3ec0
commit
7e8a4d66db
Binary file not shown.
@ -9,9 +9,9 @@ public class Checking extends BankAccount{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new account checking with all parameters
|
* Create a new account checking with all parameters
|
||||||
* @param owner
|
* @param owner The people who have the bank account
|
||||||
* @param amount
|
* @param amount The amount on this bank account
|
||||||
* @param minBalance
|
* @param minBalance the minimum value the value can go. without blocking a withdraw
|
||||||
*/
|
*/
|
||||||
protected Checking(String owner, double amount, double minBalance){
|
protected Checking(String owner, double amount, double minBalance){
|
||||||
if(owner==null){
|
if(owner==null){
|
||||||
@ -33,7 +33,7 @@ public class Checking extends BankAccount{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the minimum Balance
|
* Set the minimum Balance
|
||||||
* @param minBalance
|
* @param minBalance The minimum balance you want to set
|
||||||
*/
|
*/
|
||||||
protected void setMinBalance(double minBalance) {
|
protected void setMinBalance(double minBalance) {
|
||||||
if(minBalance>0){
|
if(minBalance>0){
|
||||||
@ -43,6 +43,7 @@ public class Checking extends BankAccount{
|
|||||||
this.minBalance = minBalance;
|
this.minBalance = minBalance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the minimum balance
|
* Get the minimum balance
|
||||||
* @return the minimum balance
|
* @return the minimum balance
|
||||||
|
Reference in New Issue
Block a user