Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is polymorphism? Explain with an example.

Answer Posted / sudarsan

polymorphism means is set of different kind of behaviours.
poly means "many" morphism means "form"... example just
imagine a man.. a man behaviour is not same with his wife
and his mother.. he behave differ with his wife.. he may
behave differ with his mother.. so he cannot behave his
mother like his wife...
same function
but
different behavior.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can static class have constructor?

1038


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2542


Give two or more real cenario of virtual function and vertual object

2329


What are the two different types of polymorphism?

1147


what is graphics

2466


What is difference between inheritance and polymorphism?

1030


Can bst contain duplicates?

1198


What are the benefits of oop?

1264


What are the three main types of variables?

1130


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

1244


How Do you Code Composition and Aggregation in C++ ?

25484


Who invented oop?

1134


any one please tell me the purpose of operator overloading

2401


What is stream in oop?

1302


What is static in oop?

1082