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
What is ambiguity in inheritance?
is there any choice in opting subjects like 4 out of 7
What is difference between class and object with example?
Why it is called runtime polymorphism?
What is multilevel inheritance explain with example?
What is coupling in oop?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
write a program that takes input in digits and display the result in words from 1 to 1000
How to call a non virtual function in the derived class by using base class pointer
explain sub-type and sub class? atleast u have differ it into 4 points?
What is object in oops?
write knight tour problem which is present in datastructure
What is the oops and benefits of oops programming?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
Who invented oop?