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 are the uses of servlet and what is servlet chaining?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What do you mean by chaining in servlet?
Explain how to improve Servlet Performance?
What is the purpose of requestdispatcher interface?
Given the request path below, which are context path, servlet path and path info?
What are its drawbacks of cgi?
Is servlet a controller?
What is the difference between using getSession(true) and getSession(false) methods?
What is difference between cookies and httpsession?
What methodology can be followed to store more number of objects in a remote server?
Why the concept of single thread model interface is used?
What do you mean by session tracking and also explain its techniques?
What is servlet in simple terms?
How do you run a servlet?