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
What is map java?
Can we extend singleton class in java?
What is the difference between comparison done by equals method and == operator?
Explain about automatic type conversion in java?
Which is better ascii or unicode?
Tell me are there implementations for sorting and searching in the java libarary?
Which collection does not allow duplicates in java?
What’s the difference between callable and runnable?
What is string english?
How many types of operators are there?
Why does it take so much time to access an applet having swing components the first time?
What is the transient keyword?
What is method in java with example?
What are predefined functions?
What is slash r?