From 94342b01c4ad50214d76a4bd0e14b070941e28ba Mon Sep 17 00:00:00 2001 From: Fastium <79766552+Fastium@users.noreply.github.com> Date: Thu, 5 May 2022 16:24:08 +0200 Subject: [PATCH] finish --- src/bank/Checking.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/bank/Checking.java b/src/bank/Checking.java index 918fee6..5ab8b56 100644 --- a/src/bank/Checking.java +++ b/src/bank/Checking.java @@ -1,15 +1,15 @@ package bank; /** - * Create a bank account with specification : - * - + * Create a bank account with specification : compte courant + * - you can set a minimum Balance */ public class Checking extends BankAccount{ private double minBalance; /** - * - * @param owner + * Create a new account checking with all parameters + * @param owner * @param amount * @param minBalance */ @@ -32,7 +32,7 @@ public class Checking extends BankAccount{ } /** - * + * Set the minimum Balance * @param minBalance */ protected void setMinBalance(double minBalance) { @@ -44,15 +44,16 @@ public class Checking extends BankAccount{ } /** - * - * @return + * Get the minimum balance + * @return the minimum balance */ public double getMinBalance() { return minBalance; } + /** - * + * Specification : you can withdraw an amount to a minimum balance */ @Override public boolean withdraw(double amount){