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
How do you run a servlet?
What do you mean by the servlet chaining?
What is the difference between servlet and jsp?
What is the use of httpservletrequestwrapper?
What is the functionality of actionservlet and requestprocessor?
What is a servlet context?
What is cookie? Why is cookie used?
Which HTTP method is non-idempotent?
What is webservlet?
Why session tracking is needed?
What are the key methods that are involved in processing of http servlets?
What are the types of servlets? Explain
What are the steps involved in placing a servlet within a package?
What are the different types of servlets?
How can we upload the file to the server using servlet?