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 is the difference between Servlets and Applets?
Explain the difference between a web server and a web container?
How many servlet objects are created?
What are the life cycle methods of a servlet?
What is meant by Servlet? What are the parameters of service method?
What is the directory structure of web application?
What is a server side include (ssi)
Who is responsible for writing a constructor?
What is the difference between context parameter and context attribute?
Explain servlet life cycle?
How do I support both get and post from the same servlet?
Explain mvc pattern.
What is the life-cycle of servlets?
Why are servlets used?
How can you push data from an Applet to a Servlet?