can u give some realtime example in ploymorphism? and
inheritance?
Answer Posted / sai vamsi krishna
An Inheritance is to access the properties from super class to sub class.
example father to son sometmes the father has some diseases like sugar,BP those are attacking to son also.
poymorphism means many forms
example one person acts as many roles in his life a person works at company he is a employee at the same time he is a father of his son.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is setattribute in servlet?
Write a program to show the functionality of doget and dopost method?
Why are http servlets used in programming?
Can servlet have a constructor ?
What is servlet and its advantages?
What are the differences between servlet context vs servlet config?
What is webservlet?
How can the session in servlet can be destroyed?
What is pure servlet?
What is the use of servlet wrapper classes?
Can you use javascript in servlets?
Should I override the service() method?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
Is it good idea to create servlet constructor?
How can you push data from an Applet to a Servlet?