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
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(); }
How to call a non virtual function in the derived class by using base class pointer
What is a null tree?
Is oop better than procedural?
What is the main feature of oop?
What type of loop is a for loop?
What is an interface in oop?
What does no cap mean?
Can enum be null?
Why polymorphism is used in oops?
What is overloading in oops?
What is polymorphism in oops?
Why multiple inheritance is not allowed?
How is class defined?
What is polymorphism and why is it important?