Question: using java language please i need the soluition as soon as posible Question 1 [40 pts] Implement the below classes and interface as presented in

![posible Question 1 [40 pts] Implement the below classes and interface as](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f45ff5c112d_38166f45ff53653a.jpg)
using java language please i need the soluition as soon as posible
Question 1 [40 pts] Implement the below classes and interface as presented in the following UML diagram except the class BasicSubscriber for which you will find the code provided below. For all classes implement only the getters that you will need later in your code. Customer Account # number: int # balance: double +Account (accNum: int, bal: double) +toString(): String +computeInterest(): double -id: int -name: String -accounts: [] Account -accountsCounter: int +Customer: (id: int, name: String) +addAccount (acc: Account) : void +getAccounts(): [] Account +toString(): String > Comparable + compareTo (o: E): int Checking Saving +Checking (accNum:int, bal: double) +toString(): String +computeInterest(): double -rate: double -nbYears: int +Saving (accNum: int, bal: double, ra: double, nbYear: int) +toString(): String +computeInterest(): double + compareTo (O:E): int Question 2 [20 points) Implement the driver class (application) as follows: a) Create a customer with id 3 and name Sami. Write code to add for the customer two saving and two checking accounts. b) Write code to display the interest for each of the saving accounts of the customer. c) Write code to compare the two saving accounts to display a message showing whether they are equal or one of them is smaller than the other one. d) Write code to display the information of all accounts
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
