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
Write the code to get the server information in servlet.
Can we override servlet service method?
How forward () method is different from send redirect () method?
What is the difference between 2 types of servlets?
What is httpservlet class?
What is a servlet context?
The code in a finally clause will never fail to execute, right?
What are the disadvantages of storing session state in cookies?
What is the functionality of actionservlet and requestprocessor?
What is the difference in between the httpservlet and generic servlet?
Define the lifecycle for executing a jsp page.
Explain is servlet mapping?
What do you mean by default initialization in java servlet?
What are the annotations used in servlet 3?
What is httpservlet and how it is different from genericservlet?