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
Explain about main thread in java?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
What is method in research paper?
How do you achieve polymorphism in java?
What is parsing and its types?
how would you implement a thread pool? : Java thread
Difference between start() and run() method of thread class?
Why put method is used?
How do you escape json?
What is the default value of an object reference declared as an instance variable?
Can we declare a class as abstract without having any abstract method?
Why is stringbuffer called mutable?
What are the kinds of polymorphism?
Is 0 an irrational number?
What are recursive functions?