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 hash table in java?
What is the difference between overriding and overloading in OOPS.
How are observer and observable used in java programming?
What is finalize() function in java?
Which class is the superclass of all classes?
How can we create an immutable class in java?
What is the difference between stored procedure & function?
How can you share data between two thread in Java?
What is a nonetype?
What are the 4 types of research methods?
What is hashtable and explain features of hashtable?
What is difference between char array and string?
What is difference between stringbuffer and string?
Explain java thread life cycle.
What is an immutable object? How do you create one in java?