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
Explain the advantages of inheritance.
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is oops?what is its use in software engineering?
Is data hiding and abstraction same?
What are the 3 pillars of oop?
Are polymorphisms mutations?
What is the renewal class?
What are the three main types of variables?
Why it is called runtime polymorphism?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is abstraction example?
Can abstract class have normal methods?
What is pointer in oop?
What is the oops and benefits of oops programming?
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?