اتمى احد يساعدما في حلة
Consider the following problem description and write the Java code.
1. Create two interfaces Interest and Balance.
2. Define in each interface one method used in order to get the rate of interest and the balance of the bank account implementing them respectively.
3. A BankAccount class that implements these two interfaces.
Note: use the appropriate instance variables, constructors and methods.
4. Call both the methods in the main() method.