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 / naren

Polymorphism means ability to take more than one form.
There are two types of polymorphism
1.Method Overloading(compile time polymorphism)
2.Method Overriding(run-time polymorphism)

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between inheritance and polymorphism?

1075


How to use CMutex, CSemaphore in VC++ MFC

4835


What is an example of genetic polymorphism?

1242


What is encapsulation and abstraction? How are they implemented in C++?

1188


How do you achieve polymorphism?

1136


State what is encapsulation and friend function?

1341


What is object-oriented programming? Webopedia definition

1340


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.

1312


Why oops is important?

1197


Write a program to sort the number with different sorts in one program ??

2430


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2698


Can we define a class within the interface?

1100


What is an advantage of polymorphism?

1136


What does enum stand for?

1187


What is destructor in oop?

1082