Ask Question
15 August, 08:30

We want to change theBankAccountclass so that all accounts will have a monthly fee. When aBankAccountis created, its monthly fee is set and cannot be changed. Which of the following will properly define the instance variablemonthlyFee that holds the monthly fee? A) monthlyFee: double; B) instance var monthlyFee; C) private double monthlyFee; D) private field monthlyFee;

+2
Answers (1)
  1. 15 August, 08:56
    0
    C) private double monthlyFee

    Explanation:

    We want to change the BankAccount class so that all accounts will have a monthly fee. When a BankAccount is created, its monthly fee is set and cannot be changed. Which of the following will properly define the instance variable monthly Fee that holds the monthly fee is private double monthly fee
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “We want to change theBankAccountclass so that all accounts will have a monthly fee. When aBankAccountis created, its monthly fee is set and ...” in 📗 Business if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers