what is polymorpsim? what are its types?

Answer Posted / niranjan ambati

By using "virtual" keyword infront of "implementation
methods" declarations in the class, polymorphisim can be
achieved. late binding(run time execution)
,Encapsulation(APIs), avoid ambiguity between multi
inheritance can be achieved thru polymorphisim.. Using
polymorphisim, the objects will call correct methods at run
time by using virtual pointer table.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2763


What does it mean when someone says I oop?

587


What exactly is polymorphism?

610


What is destructor example?

597


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1543






What does <> mean pseudocode?

624


What is the highest level of cohesion?

581


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2109


What is encapsulation selenium?

554


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(); }

1991


Advantage and disadvantage of routing in telecom sector

790


Is oop better than procedural?

576


Which type does string inherit from?

617


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2038


How do you answer polymorphism?

577