Answer Posted / sangita patel
Polymorphism means one name multiple form.
It is implemented using overloaded function and operators.
Its is of two types
1) compile time polymorphism(function overloding
2) run time ploymorphism
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What are function prototypes?
What gives the current position of the put pointer?
List the features of oops in c++?
What does new return if there is insufficient memory to make your new object?
What is the best ide for c++?
In what situations do you have to use initialization list rather than assignment in constructors?
Show the application of a dynamic array with the help of an example.
What is a class template in c++?
What are the extraction and insertion operators in c++? Explain with examples.
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0
What is the role of C++ shorthand's?
What are c++ redistributables?
What is virtual function? Explain with an example
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02