can you give real time example for polymarphism

Answer Posted / venki

Appearing different forms of water
once it acts as ice
and other vapour

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What language is oop?

597


c++ program to swap the objects of two different classes

1767


write a programe to calculate the simple intrest and compund intrest using by function overlading

1670


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1647


What is polymorphism explain its types?

688






What is abstraction example?

624


What is overriding in oop?

551


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.

703


Write a program to reverse a string using recursive function?

1797


What is polymorphism give a real life example?

565


Templates mean

1592


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1639


What is the difference between a constructor and a destructor?

617


What is an advantage of polymorphism?

599


any one please tell me the purpose of operator overloading

1967