Answer Posted / 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 |
Post New Answer View All Answers
What is the problem with multiple inheritance?
What language is oop?
What is a class oop?
Why it is called runtime polymorphism?
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.
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
what type of questions
How do you achieve polymorphism?
What are the 3 principles of oop?
Why multiple inheritance is not possible?
How long to learn object oriented programming?
What is debug class?what is trace class? What differences are between them? With examples.
What is a null tree?
what are the ways in which a constructors can be called?
write a program to find 2^n+1 ?