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
Which java framework is most popular?
How many servlet objects are created?
How can you push data from an Applet to a Servlet?
What is difference between cookies and httpsession?
Explain Action Servlet?
What is lazy loading and what is Generic Servlet Class?
What are some disadvantages of storing session state in cookies?
What's the servlet interface?
What are the types of an http request?
Explain the servlet filter.
How can we include static files in the jsp page?
How to commuincate between an applet and a servlet?
Name the different ways of session tracking.
How do we go with database connection and log4j integration in servlet?
Explain their methods? Tell me their parameter names also have you used threads in servlet?