Answer Posted / chittaranjan
Method overloading: when a method in a class having the
same method name with different number/type of arguments
with the existense of prevoius meaning also is called
method overloading.
Method Overridding: when a method in a class having the
same method name with same number & type of argument(s)
however there mus not be any existense of previous meaning
is said to be method
overridding.
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
How can a gui component handle its own events in java programming?
What is oops in java?
Is intellij better than eclipse?
When will you define a method as static in Java?
Explain importance of inheritance in java?
what is method reference in java 8?
What is the base class in java from which all classes are derived?
Can we have more than one package statement in source file ?
Explain what access modifiers can be used for variables?
What are the pillars of java?
Can keyword be used as identifier?
What is nested loop? What is dangling else condition in it?
What is an empty list in java?
What are the various access specifiers in java?