can u give some realtime example in ploymorphism? and
inheritance?
Answer Posted / babu
Babu torati
METHOD OVERLOADING:Means suppose one man behaving different ways
suppose if is meet his wife he feels different if he meet his girl friend he feels differently means Based on person he meet his behavior will changes.
METHOD OVERRIDING:Means if father is gives some Properties to his son. ex:Bike but father says if you want to change this bike your wish otherwise continue with this bike(i.e no restriction) means gives permission throw the virtual keyword if you want change(override).
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What’s the difference between forward() and sendredirect() methods?
What are the annotations used in servlet 3?
How a servlet is unloaded?
What is called servlet container?
What are the kinds of http requests?
What is the difference between servlet and filter?
What is api in servlet?
How to get the actual path of servlet in server?
What do you mean by filter in servlet?
What do you mean by request dispatcher in servlet?
Which http method is said to be non-idempotent and idempotent?
What's the use of servletcontext?
What are the new features added to servlet 2.5?
How does tomcat servlet container work?
What are the different types of servlets?