What is polymorphism ? Explain with examples
Answer Posted / nisha
Polymorphism means one name,many properties.Example of
polymorphism is function overloading whare we can have many
functions with same name but having different properties
like the number of arguments in the function header.
Is This Answer Correct ? | 43 Yes | 8 No |
Post New Answer View All Answers
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What is encapsulation and abstraction? How are they implemented in C++?
What is the real time example of inheritance?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is destructor in oop?
How do you use inheritance in unity?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Why is polymorphism important in oop?
Why interface is used?
How do you answer polymorphism?
What are the components of marker interface?
Why do we use polymorphism in oops?
What is the point of oop?
any one please tell me the purpose of operator overloading
What is encapsulation in ict?