explain method overridding method overloding with examples?
Answer Posted / senthamil kumaran
polymorphism can be divided into two tyes:-
Dynamic polymorphism or Run time polymorphism
Static polymorphism or Compile time polymorphism
Example for Static polymorphism
Method Overloading
Example for Dynamic polymorphism
Method Overriding
overloading: same method name but different argument list
is called as overloading
overriding:-same methodis redefined in the following
Derived classes with the same arugument list
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to build struts application in eclipse?
What is struts framework in java?
What is actionservlet?
Can you explain struts validator framework?
What is the use of interceptor?
What is the use of lookupdispatchaction?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
Can we use struts and spring together?
State the procedure for using forward attribute of link tag’s.
What is the flow of requests in struts based applications?
What is the purpose of dispatcher result type?
Can you explain struts.properties in struts2?
What is the use of namespace in action mapping in Struts2?
How we can controlled duplicate form submission in struts?