What is polymorphism explain its types?
Answer / Radhakrishna Gupta
Polymorphism allows an object to take on multiple forms. There are two main types of polymorphism: Compile-time polymorphism (Method Overloading and Method Overriding) and Run-time polymorphism (Run-time binding or Dynamic method dispatch).
| Is This Answer Correct ? | 0 Yes | 0 No |
Describe the difference between a Thread and a Process?
What is an object?
what is graphics
What is an advantage of polymorphism?
Why is oop useful?
Write a program to get the binary tree.
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is the difference between declaration and definition?
why c++ is a highlevel language
3 Answers Satyam, Tech Mahindra,
What is abstraction?
string is a class or data type in java?
What is the real time example of inheritance?