Define polymorphism?, C/C++ Programming

Define Polymorphism?

A: Polymorphism let a client to treat di_erent objects in the simialr way even if they were developed from di_erent classes and exhibit di_erent behaviors. You can employ implementation inheritance to attain polymorphism in languages like C++ & Java. Base class object's pointer can invoke methods in the derived class objects. You can also attain polymorphism in C++ by operator overloading and function overloading

 

Posted Date: 3/16/2013 2:55:02 AM | Location : United States







Related Discussions:- Define polymorphism?, Assignment Help, Ask Question on Define polymorphism?, Get Answer, Expert's Help, Define polymorphism? Discussions

Write discussion on Define polymorphism?
Your posts are moderated
Related Questions
: Write a program that prompts the user to enter five digit positive numbers. The program then outputs the digits of the number one digit per line. Eg if the user enters 32456, th


There are ''n'' ants on a ''n+1'' length rod. The ants are numbered from 1 to n and are initially placed at positions starting from position 1 till position n. They are moving eith


In this sub-task will you implement three functions for the final three function prototypes that will do exactly the same as the three functions that you have just written. This ti

Build a program that calculates a discount for items based on quantity bought each item is $99.99 Ask user to enter the quantity of the items Get the quantity of items from the u

Goals For this assignment you will write programs in C and LC-3 assembly code. Both programs will perform the identical recursive algorithm. The goals of this programming assignmen

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

Explain the Bit Wise Operators? C language has distinction of supporting special operators recognized as bit wise operators for manipulation of data at bit level. These operato

Explain Rules for constructing variable names? The Rules for constructing variable names : a) A variable name is any combination of alphabets, 0 to 9 digits and undersc