Name a typical usage of polymorphism
Answers were Sorted based on User's Feedback
Answer / ankur 9039630226
show more than one form means one function many operations such as add(int,int)and add(int, int, int , float);
here same add function but two different operations
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / brunda r
Polymorphism plays a very important role in allowing objects
having different internal structures to share the same
external interface.Its Its extensively used in implementing
inheritance.
Is This Answer Correct ? | 5 Yes | 1 No |
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.
Is data hiding and abstraction same?
What type of Job you are providing?
How is polymorphism achieved?
Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku
What is ambiguity in inheritance?
Is this job good for future? can do this job post grduate student?
What is encapsulation in oop?
What is a friend function & its advantage?
Please send ford technologies placement paper 2 my mail id
What is the difference between inheritance and polymorphism?
any one please tell me the purpose of operator overloading