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
How does java thread pool work?
What is the major difference between servlet and applet?
Write a command to get actual path of a servlet to the server?
Difference between forward() method and sendredirect() method ?
What is the procedure of invoking different servlet in a different application?
How httpservlet is different from the genericservlet?
How do you define a servlet?
How do I know if java is running on linux?
What is the
What is meant by session? Tell me something about httpsession class?
What does the term localization refer to?
Difference between httpservlet and generic servlets?
What are the different types of servlets?
What is the procedure for initializing a servlet?
Which application server is best for java?