Question: Question Two Consider the following problem description and write the Java code. 1. Create two interfaces Interest and Balance. 2. Define in each interface one

Question Two 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
