explain about method overloading and method overriding with
difficult examples
Answer Posted / andrea
overloading
two or more methods will have same name but different
arguments. it will be in same class.
overriding
two or more methods will have same name and same
number of arguments but in different classes
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
What is sortedset in java?
What are the files generated after using IDL to java compiler?
What restrictions are placed on method overriding in java programming?
What will happen to the exception object after exception handling?
What is meant by design patterns?
Is string an object?
What is the difference between iterator and enumeration ?
Give me example of derived data types.
What is the static block?
Write a code to create a trigger to call a stored procedure
How many threads can I run java?
What is the difference between stream and buffer?
What is prime number in java?
What is loop in java?
How to sort array in descending order in java?