explain about method overloading and method overriding with
difficult examples
Answer Posted / bhasker
Method Overloading:
--------------------
Method Overloading is nothing but the method name is
same and the number of parameters and types of parameters
are different.
Method Overriding:
--------------------
Method Overriding is nothing nut the super class
method signatuer we can inherit to the sub class method
signature is shoub be same.
Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Is c better than java?
What is numeric function?
What is the difference between == and === javascript?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
Why are global variables used?
Can we create object of static class?
How do you create a bulleted list?
What do you mean by Function Overloading in java?
What is javac_g?
Who found java?
What is the basic of java?
What is the difference between choice and list?
Is there a sort function in java?
Can we call a non-static method from inside a static method?
What is a blocking method in Java?