can you give real time example for polymarphism

Answer Posted / lavanya

I am daughter for my parents,sister for my sibling, and also
a employee for my employer...am one but acting different in
different scenario....

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1981


How to call a non virtual function in the derived class by using base class pointer

5253


What is a null tree?

630


Is oop better than procedural?

570


What is the main feature of oop?

618






What type of loop is a for loop?

682


What is an interface in oop?

591


What does no cap mean?

590


Can enum be null?

585


Why polymorphism is used in oops?

581


What is overloading in oops?

596


What is polymorphism in oops?

556


Why multiple inheritance is not allowed?

581


How is class defined?

584


What is polymorphism and why is it important?

556