Why method overloading and method overriding required in java?
Answer / sonu
function overloading is used to achieve dynamic binding, and overriding is used to achieve run time polymorphism , dynamic binding .
| Is This Answer Correct ? | 0 Yes | 3 No |
What are the problems faced by java programmers who don't use layout managers?
How are this() and super() used with constructors?
Does java support multiple inheritance or not?
how to compile jsp?
Can you call one constructor from another if a class has multiple constructors?
What is the use of collections in java? How it is implemented in real time applications?
When will we prefer to use set and list in java and why?
What is the Vector class?
What is a buffer in computer?
Package1 and Package2 both have a method name lets say "methodA" with different implementation. When I import both the packages in a java class how can I use both the methods?
What is a void method?
How to eliminate duplicates from an array?
6 Answers ABC, AdMod, Adobe, College School Exams Tests, Patni, Wipro,