Explain polymorphism? What r the types of polymorphism?
pls give examples?
Answer Posted / ajay kanth donkada
Poly as the name states is some thing have more than one
form.
Types are:
Compile Time &
Run time
Example of compile time is Function Overloading/operator
overloading.
Example of Run time: Function overriding.
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What is polymorphism what is it for and how is it used?
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 3 pillars of oop?
What is difference between data abstraction and encapsulation?
Can destructor be overloaded?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is an interface in oop?
What is destructor example?
Can static class have constructor?
What is the significance of classes in oop?
Which is not an object oriented programming language?
why reinterpret cast is considered dangerous?
What are the important components of cohesion?
What does enum stand for?
What are the benefits of interface?