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's the use of servletcontext?
What is the difference between Server and Container?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
What is difference between PrintWriter and ServletOutputStream?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
Elucidate servlet attributes and its scope?
What do you mean by cgi?
When Servlet is unloaded?
What is servlet configuration?
Who is responsible to create the object of servlet?
Is servlet a controller?
What is a generic servlet?
Is that servlet is pure java object or not?
Explain how does JSP handle run-time exceptions?
What is java servlet session?