can u give some realtime example in ploymorphism? and
inheritance?
Answer Posted / mani
Human being life is the best example for ploymorphism bcoz
Let one take example
im a son of my parents and also brother of my sister and
the employee of one company ...
Im playing the many role here.
Same example for inheritance also bcoz i have inherited my
father property.
| Is This Answer Correct ? | 58 Yes | 4 No |
Post New Answer View All Answers
Can we override servlet service method?
Which application server is best for java?
What is servlet and its types?
What do you mean by filter in servlet?
What are the benefits of using servlet over cgi?
Is servlet a controller?
Define the lifecycle for executing a jsp page.
What exactly is a servlet?
Explain the features are in servlet 3?
Why is init() method is used in servlets?
Servlet is pure java object or not?
What is context in servlet?
How the typical servlet code look like ?
How do you communicate in between Applets and Servlets?
Why the container loads server at the application startup and how?