Using Object-Oriented Programming, develop a programme that implements a part of a Bank management system. The developed programme should consider the following:
1- An object named Customer for which you need to identify 3 attributes of the object and at least one method.
2- An object named Account includes the account number (int) and the balance (double).
3- A subclass of Account named Saving includes the account number (int), the balance (double), and the type (string)
4- A subclass of Account named fixed (fixed deposit) includes the account number (int), the balance (double) and the interest rate (double).
Comments
Leave a comment