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
Servlet is pure java object or not?
What are the life-cycle methods for a servlet?
The code in a finally clause will never fail to execute, right?
How would you create deadlock on your servlet?
Where do you define dispatcherservlet?
What are the functions of an intercepting filter?
How do you find out what client machine is making a request to your servlet
What are different methods of session management in servlets?
Why HttpServlet class is declared abstract?
How does tomcat servlet container work?
What is the difference between servlet and filter?
Explain the architechure of a servlet?
How forward () method is different from send redirect () method?
What is the difference between context parameter and context attribute?
Why servlet is mostly used?