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 a generic servlet and http servlet?
How do you run a servlet?
What is the difference between jsp and servlet life cycle?
Whether thread can be used in servlets?
What is servlet in simple terms?
Why filter is used in servlet?
What is the use of servlet context?
What is servlet container?
Can filter be used as request or response?
Differentiate between the get and post method
What is the use of httpservletrequestwrapper?
What do you mean by cgi and what are its drawbacks?
How native code can be used in a servlet?
Which method of the httpservletrequest object is used?
What is the difference in between the httpservlet and generic servlet?