Java+classes+and+objects+chapter+2

2016 Nov 14 homework: 1. Construct a BankAccount class, which implements (A) 2 contructs: default and specified. (B) accessors for all instance and class variables, (C) mutators for deposit, withdraw, change password (D) static method for getting Interest rate from user.

2. Construct a BankAccountTestClass, which tests all the (A)-(D) in 1, you are expected to create something more interesting.

3. Construct a ParamTest class as in page 104.

4. Based on BankAccount and BankAccountTestClass, implement examples in page 105-110.

Homework deadline: Nov 16th 11:30am, please upload all your code to wiki in either *.java source code format or paste your code to webpage using java format. I will test your code in class next lesson.