Solved

Which of the Following Methods Correctly Withdraws an Amount from a Bank

Question 38

Multiple Choice

Which of the following methods correctly withdraws an amount from a bank account?


A) Method withdraw(Numeric amt)
AcctBal = acctBal - amt
Display "The new balance is: $" + acctBal
End Method

B) Method withdraw(String amt)
AcctBal = acctBal - amt
Display "The new balance is: $" + acctBal
End Method

C) Method withdraw(Numeric amount)
AcctBal = acctBal - amt
Display "The new balance is: $" + acctBal
End Method

D) Method withdraw(String amount)
AcctBal = acctBal - amt
Display "The new balance is: $" + acctBal
End Method

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions