Multiple Choice
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 monthlyFee that holds the monthly fee?
A) monthlyFee: double;
B) instance var monthlyFee;
C) private double monthlyFee;
D) private field monthlyFee;
Correct Answer:

Verified
Correct Answer:
Verified
Q3: When a method exits, its _ are
Q26: Fill in the blank in the following
Q27: We want to create a class that
Q29: Given this method comment, fill in the
Q30: Documentation _ can be used to describe
Q32: Assuming the following code is the body
Q33: Consider the following method comment and method
Q34: Assume the method below has been added
Q36: We want to create a class that
Q90: A method is invoked on what type