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
When servlet object is created?
What are the different methods of session management in servlets?
How to generate the server side programming and the advantages of it over the other languages?
Explain the steps involved in placing a servlet within a package?
Is servlet thread safe?
How do cookies work in servlets?
What are the difference between session and cookies in servlet? Explain
What is meant by Servlet? What are the parameters of service method?
What is a servlet-to-servlet communcation?
What is the use of servlet context?
What is ServletConfig object?
What is the dispatcher servlet?
What are the different methods involved in the process of session management in servlets?
Describe servlet?
What are the steps involved in placing a servlet within a package?