What is polymorphism in Object Oriented Programming (OOPS)
Languages? What are different types of polymorphism?
15. What is inheritance?
Answer Posted / midhula kadiyala
Defining many functionalities with in the same name and with
in the same program.
Polymorphism are of 2 types.
1.Function overloading or Function overwriting(compile time
polymorphism or static polymorphism)
Defining multiple functionalities with the same name but
with different arguments and different parameters with in
the same class is called static polymorphism.
2.FunctionOverriding(Dynamic Polymorphism)
The procedure of defining the functionality of subclass with
the signature(same arguments) of same function present any
of the super class is called Functionoverriding.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How do I restrict access to servlets and jsps? : BEA Weblogic
What is the purpose of the serializedsystemini.dat file?
How can I avoid resourceexceptions when sending more requests for database connections from the pool than are currently available? : BEA Weblogic
How to write a program to bind string values in a preparedstatement?
How does concurrency work for message-driven beans? : BEA Weblogic
What is the difference between weblogic and jboss?
What are the toolbar elements.
Are there c/c++ interfaces to wls jms? : BEA Weblogic
Write a program to call the store procedure of oracle that takes no parameter?
Can you use a foreign jms provider to drive an mdb transactionally? : BEA Weblogic
Explain the difference between txdatasource and datasource?
How do I call a servlet with parameters in the url? : BEA Weblogic
What are the disadvantages of node manager?
What is silent mode?
What is the managed server?