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
What is jvm tuning?
What is Multicast?
What is actually weblogic cache?
What is the sla in prd,qa,dev.?
Is it better to have more or fewer sessions for a given number of subscribers? : BEA Weblogic
Is it ok to add new sessions and subscribers to a queue or topic connection once it has been started? : BEA Weblogic
What are data-sources and what features do they offer?
What is the name of default jvm that is made used for weblogic?
Must ejbs be homogeneously deployed across a cluster? Why? : BEA Weblogic
What is the difference between jndi lookup(), list(), listbindings(), and search()?
What is the difference between creating a distributed application using rmi and using a ejb architecture?
Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean? : BEA Weblogic
What are the enhancements in ejb 2.0 with respect to cmp?
How does a server find out server unavailability?
How do I put a message back on the queue for processing? : BEA Weblogic