Question: The code did not meet the requirement and did not produce the correct result. The only two location to adjust the code, is inside the
The code did not meet the requirement and did not produce the correct result.
The only two location to adjust the code, is inside the Accept method where Object X is the The second place to adjust the code is the average method inside data. You added an extra parameter to the average method, as well as a compareTo in Bankaccount, which did not meet the requirement.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
