can u give some realtime example in ploymorphism? and
inheritance?
Answer Posted / nazneen
Polymorphism applies to Overriding
Inheritance applies to Reusability of code defined earlier in one Class and later on used by Other Classes..
Is This Answer Correct ? | 14 Yes | 11 No |
Post New Answer View All Answers
Why HttpServlet class is declared abstract?
How will two or three servlets interact or communicate with each other?
What is java servlet session?
what is servlet chaining?
How to generate the server side programming and the advantages of it over the other languages?
How a servlet is unloaded?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What are life cycle methods of a servlet?
What exactly is a servlet?
Define context initialization parameters.
What is ServletContext object?
What are the disadvantages of storing session state in cookies?
What is the difference between the servlets and cgi programs?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?