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
Operators in C++: All C operators are valid operators in C++ also.  Besides C++ has developed some new operators like Operators and their Expression: 1.      Logical op

Manipulators There are several classes in the iostream.h header file. One of them is ios class. This class stores the format state. For example, some bits explain the base in w

Use of random function: int main(void) {    int i,j;         for(j=0;j       {      // randomize();       for(i=0;i                  printf("%d\n", ran

I have an assignment , can I send it

The code contains two built-in pitfalls. First one, if it executes in a member function for an static, extern or automatic object, the program will possibly crash as soon as the de

write a program to find the area under the curve y=f(x) between x=a and x=b integrate y=f(x)   #include float start_point, /* GLOBAL VARIABLES */


We need an E Commerce site likefifacointrader. you must have experience with that kind of work You have to show a sample of work like that site. Skills required are C Prog

- Create a program that uses at least two functions that will be called from your main. This program is a number game program that asks for parts of your phone and after manipulati

C program to print L diagonal triangle: void main() {                 int i=0,j=0;                 int arr[rows][cols];                 for (i=0; i