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
Define servlet mapping?
what is multiple server?
How to make sure a servlet is loaded at the application startup?
What are the features added in Servlet 2.5?
What are the jobs performed by servlets?
Can servlet have a constructor ?
Explain how to improve Servlet Performance?
What is the difference between the servlets and cgi programs?
How to get the IP address of client in servlet?
What is servlet configuration?
How to get the actual path of servlet in server?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
Explain Action Servlet?
What is the purpose of inter-servlet communication?
What is a web application and what is it’s directory structure?