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


Please Help Members By Posting Answers For Below Questions

How do I set up my classpath? : BEA Weblogic

611


Can weblogic server start with a unix boot? : BEA Weblogic

611


What is meant by adminserver?

638


What are the types of gc and in which different scenarios each should be used?

639


What is a stage deployment?

720






Do you know what is the purpose of t3 in weblogic server?

537


If a java process keeps going down due to an out of memory error, what all java options would you start with that would tell you what was in memory at the time of the out of memory error?

658


Why is my jms work not part of a user transaction (i.e., Called within a transaction but not rolled back appropriately)? How do I track down transaction problems? : BEA Weblogic

583


Explain the use of http ?

759


Why the node manager is required?

717


How do I provide user credentials for starting the weblogic server?

616


What are the advantages of using application servers?

575


Can I still use the default connection factories supported in weblogic release 5.1? : BEA Weblogic

610


How do I use os authentication with weblogic jdriver for oracle and connection pools? : BEA Weblogic

630


Can we deploy jar in weblogic?

579