What is polymorphism what is it for and how is it used?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

What is the difference between inheritance and polymorphism?

0 Answers  


What is encapsulation with real life example?

0 Answers  


Can you name some types of inheritance?

0 Answers   Motorola,


How can you overcome the diamond problem in inheritance?

0 Answers   NIIT,


is java purely oop Language?

49 Answers   HCL, Infosys, TCS,






What is the difference between declaration and definition?

20 Answers   IBS,


Can we create object of interface?

0 Answers  


Difference between over loading and over ridding?

12 Answers   CTS, Patni, Softvision Solution,


should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks

2 Answers  


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

0 Answers  


What is Method overloading?

5 Answers  


c++ program to swap the objects of two different classes

0 Answers  


Categories