can u give some realtime example in ploymorphism? and
inheritance?
Answer Posted / srinu
polymorphism: Polymorphism one form existing many forms is
called polymorphism.its used for over ridding.
EX:Man
Because A Man go to office he is an Employee.
A Man go to movie he is an auditor.
A man walk with his lover she's boy friend
inheritance is hierarchy of class,that is one class derived
from another class
EX:
grant father
--father
--son
Is This Answer Correct ? | 19 Yes | 8 No |
Post New Answer View All Answers
What does the term localization refer to?
How httpservlet is different from the genericservlet?
Can you call a jsp from the servlet?
Explain load on start-up and its importance?
Explain the different ways for servlet authentication?
What is a java servlet?
How printwriter is different from servletoutputstream?
What is a web application and what is it’s directory structure?
How does Cookies work in Servlets?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
Tell us something about servletconfig interface.
What do you mean by web applications?
How do you design microservices?
What is servletconfig?
How can a servlet be used to generate plain text instead of html?