account.java/transcations.java and student/address/studentbody.java
$10-30 USD
Completed
Posted over 8 years ago
$10-30 USD
Paid on delivery
there are 2 little projects:
1. modify the account class from chapter 4 so that it also permits an account to be opened with just a name and an account number, assuming an initial balance of zero. modify the main method of the transactions class to demonstrate this new capability.
2. modify the student class presented in this chapter as follows. each student object should also contain the scores for three tests. provide a constructor that sets all instance values based on parameter values. overload the constructor such that each test score is assumed to be initially zero. provide a method called setTestScore that accepts two parameters: the test number (1 through 3) and the score. also provide a method called getTestScore that accepts the test number and returns the appropriate score. provide a method called average that computes and returns the average test score for this student. modify the toString method such that the test scores and average are included in the description of the student. Modify the driver class main method to exercise the new Student methods.
I have read and fully understand your requirements ..
Please open chat to discuss further....
+++++++++===================+++++++++++++========================+++++++++