Distinguish method overloading and overriding
Answer Posted / pralay
Method Overloading is functionality of java in which we can
declare many method with same name but different signature
in one class, but Overriding is a the process of declare a
method which is already define in super class, this Method
has same name and same signature as super class.
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is method overloading with type promotion?
What are the important features of Java 10 release?
Which java collection does not allow null?
What is a nonetype?
Difference between association, composition and aggregation?
What is the difference between choice and list?
What is object of class in java?
What is definition and declaration?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
What is double word?
Why local variables are stored in stack?
What is the difference between an interface and an abstract class?
Why java is secure? Explain.
Which access specifier can be used with class ?
What is exception in java?