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
Solve the Nine Queens problem recursively. The objective is to place nine queens on an empty chessboard so that no queen is “attacking” any other, i.e., no two queens are in the sa

THIS PROGRAM IS TO DISPLAY A STOCK CONTAINING ITEM CODE,ITEM NAME,PRICE AND ANOTHER STOCK WITH CODE & QUANTITY AND DISPLAY COMPLETE INFORMATION #include #include #include

what are 3 conditions under which the sequential search of a list is preferable to binary search?

write a program to calculate the cuboid

Consider text comprised of sentences and sentences comprised of words. Words in a sentence will be space delimited. Given a text and K strings, task is to find out the number valid

Array types An array is a collection of objects of a one data type. The individual objects are accessed by their position in the array. This way of accessing is known as indexi

#C Why don''t online compilers support the header file? What can I do to resolve this? PS. I have tried , does''nt work either. Thannk in advance.

What does throw; (with no exception object after the throw keyword) mean? Where would I employ it? A: You should see code that looks something like this: class MyException

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

Aim: To implement a program for following string operations: Length of String. String Concatenation. Substring (provide start index and length) Find character a