Define polymorphism?, C/C++ Programming

Define Polymorphism?

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

 

Posted Date: 3/16/2013 2:55:51 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
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Define Passing Structure to a Function? A structure is able to be passed as a function argument identical to any other variable. If we are merely interested in one member of a

Ask question # Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particu

convert lower case to uper case

Describe spaghetti programming. - Spaghetti programming refers to codes which tend to get tangled and overlapped throughout the program. - It makes a program complex and ana

Yes. "Memory pools" are useful in many situations. The bad news is that I'll need to drag you through the mire of how it acts before we talk about all the uses. Firstly, recall

Simple program of c++: int main() {    int   bushels;    float dollars, rate;                 cout                 cin >> dollars;                 cout

project on business management

1. Jewels can only be removed for polishing from either end of the necklace (i.e. head or tail) 2. Once a jewel type is removed from the necklace, all other instances of the same j

A: In C++, the definition of NULL is 0, thus there is only an aesthetic difference. I prefer to ignore macros, so I employ 0. Another difficulty with NULL is that people sometimes