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
Why it is called runtime polymorphism?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
what are the different types of qualifier in java?
What is the real time example of inheritance?
What is polymorphism in oop example?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
Can static class have constructor?
Can abstract class have normal methods?
How do you use inheritance in unity?
What is difference between pop and oop?
What is abstraction in oop with example?
Why multiple inheritance is not possible?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
How long to learn object oriented programming?
can inline function declare in private part of class?