javascript
Brief description  about Online courses   join in Online courses
View Puneet  Kumar 's Profile

Interfaces and Inheritance/Polymorphism

I don't understand the language of this question.. what exactly are we supposed to do.
Can someone please simplify it ..

"Interfaces and Inheritance/Polymorphism
We have discussed polymorphism in our text section with a very simple example. I real life we will not get such simple things to do, so, we should be prepared to face such hardships. Let's start it with this assignment.

You are a Software Developer and I am your Customer. I own a small Bank for which I need a Software to be developed that holds the details of different accounts and the customers holding corresponding accounts.

Please use polymorphism to print the details of Customers based on the type of their account. Please use the example program as reference.

I have 5 Customers and their details are below:
_________________________________________
1. Customer Name : Rahul Mahajan
Account Type : Savings
Date Of Birth : 24/12/1965
Profession : Unemployed
Nationality : Indian
_________________________________________
_________________________________________
2. Customer Name : Michael Jackson
Account Type : Current
Date Of Birth : 14/06/1960
Profession : Musician
Nationality : American
_________________________________________
_________________________________________
3. Customer Name : Sachin Tendulkar
Account Type : Savings
Date Of Birth : 14/04/1974
Profession : Cricketer
Nationality : Indian
_________________________________________
_________________________________________
4. Customer Name : Rajni Kanth
Account Type : Current
Date Of Birth : 12/12/1940
Profession : Actor
Nationality : Indian
_________________________________________
_________________________________________
5. Customer Name : Nelson Mandela
Account Type : Savings
Date Of Birth : 12/01/1930
Profession : Retired
Nationality : African"
Asked by Puneet Kumar | Jul 17, 2012 |  Reply now
Replies (0)