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

Why in jdk we have two different folders for bin and lib ?

559


How should you type cast a remote object?

598


In web logic how are new threads assigned?

528


Do you know what is the local interface used by web logic server?

538


What are the transaction isolation levels supported by weblogic jdriver?

519






What is application tuning?

644


What is Multicast?

586


What is boot?properties file in weblogic server?

553


How can we configure http tunneling on weblogic?

536


What are the supported installation modes for WebLogic Server ?

737


How do I start wls and configure jms? : BEA Weblogic

546


Write a program to call the store procedure of oracle that takes no parameter?

539


Why does jmssession.createtopic or jmssession.createqueue fail to create a destination in wls jms 6.1 (it worked in 5.1)? : BEA Weblogic

548


Do you know what type of object is returned by resultset.getobject()?

584


Difference between weblogic development and production mode?

616