Close
Close

Banking

   mailmeabir19

All the banks operating in India are controlled by RBI. RBI has set a well defined guideline (e.g. minimum interest rate, minimum balance allowed, maximum withdrawal limit etc) which all banks must follow. For example, suppose RBI has set minimum interest rate applicable to a saving bank account to be 4% annually; however, banks are free to use 4% interest rate or to set any rates above it. Write a JAVA program to implement bank functionality in the above scenario and demonstrate the dynamic polymorphism concept. Note: Create few classes namely Customer, Account, RBI (Base Class) and few derived classes (SBI, ICICI, PNB etc). Assume and implement required member variables and functions in each class. 

Hint: Class Customer { //Personal Details ... // Few functions ... } Class Account { // Account Detail ... // Few functions ... } Class RBI { Customer c; //hasA relationship Account a; //hasA relationship .. Public double GetInterestRate() { } Public double GetWithdrawalLimit() { } } Class SBI: public RBI { //Use RBI functionality or define own functionality. } Class ICICI: public RBI { //Use RBI functionality or define own functionality. } 


Answers

  •    MichaleRunte

    The RBI sets guidelines and policies for banks to follow, and ensures that they operate in a safe and sound manner. There are various types of banks in India, including public sector banks, private sector banks, foreign banks and regional rural banks. Each type of bank has its own unique features and functions. Public sector banks are owned by the government and aim to provide banking services to all sections of society, particularly the poor and rural areas. Private sector banks are owned by private individuals or companies and cater mainly to the urban population. I will now visit https://www.yahoo.com/now/essay-writers-hire-top-4-163101516.html website now for hiring writers for your assignment that you need to do on this topic.



  •    Calista

    Banks in the region are trying to perfect their security systems. It will ensure the safety of all accounts and transactions. So we can safely use the service. Then, we can join smash karts to entertain.



  •    Larry Martin

    The JAVA program effectively demonstrates dynamic polymorphism by implementing a hierarchy of classes (Customer, Account, RBI as the base class, and derived classes for specific banks like SBI, ICICI, PNB).
    junk removal services in Mesa AZ



Ask Yours
Post Yours
Write your answer