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
What are the functions of an intercepting filter?
How will two or three servlets interact or communicate with each other?
Why is init() method is used in servlets?
How can we perform any action at the time of deploying the project?
Why filter is used in servlet?
Explain the jar and war files in servlet?
why we should override only no-agrs init() method.
explain the advantages of servlet life cycle?
What is new in ServletRequest interface ? (Servlet 2.4)
Can we use threads in Servlets?
What are the steps that are required to handle the multi-threading?
What are the supporting protocol by HttpServlet ?
What are different ways for servlet authentication?
Can you create a deadlock condition on a servlet?
What is servlet interface?