can u give some realtime example in ploymorphism? and
inheritance?
Answer Posted / srinu
polymorphism: Polymorphism one form existing many forms is
called polymorphism.its used for over ridding.
EX:Man
Because A Man go to office he is an Employee.
A Man go to movie he is an auditor.
A man walk with his lover she's boy friend
inheritance is hierarchy of class,that is one class derived
from another class
EX:
grant father
--father
--son
| Is This Answer Correct ? | 19 Yes | 8 No |
Post New Answer View All Answers
Explain the jar and war files in servlet?
What's the architecture of a servlet package?
Can we fetch the attributes related to a servlet on a different servlet?
What is difference between server and servlet?
what is servlet chaining?
What is the difference between Difference between doGet() and doPost()?
How the servlet is loaded?
How do you define a servlet?
How will you pass values from HTML page to the servlet?
What is the purpose of requestdispatcher interface?
Difference between httpservlet and generic servlets?
Why is Servlet so popular?
Explain the different ways for servlet authentication?
What are the new features added to servlet 2.5?
What is servlet collaboration?