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
What are the phases of a servlet life cycle?
What is cgi and what are its drawbacks?
What exactly is a servlet?
What's the architecture of a servlet package?
What are common tasks performed by Servlet Container?
How can we refresh automatically when new data is entered into the database?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
How the JSP file will be executed on the Server side?
What is MIME Type?
Which interface should be implemented by all servlets?
What is api in servlet?
What is the dispatcher servlet?
What is a web container and what is its responsibility?
How will two or three servlets interact or communicate with each other?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?