Answer Posted / atul gaikwad
This polymorphism is also called as late binding.
Dynamic polymorphism can be achieved by using function overriding.
eg.for addition of numbers if we write function as
void add Numbers(int,int);
And this function is written in base class as well as derived class as it is then satisfies the function over-riding concept.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the full form of oops?
What are the features of oop?
Can we create object of interface?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What are the three main types of variables?
Which language is not a true object oriented programming language?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Where is pseudocode used?
What does sksksk mean in text slang?
What is use of overloading?
What is the difference between encapsulation and polymorphism?
Why is static class not inherited?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
Why do while loop is used?