Distinguish method overloading and method overriding
Answer Posted / sushila
method overloading is method name should be same but
signature should be different.
method overriding is method name and arguments should be
same but return type will be same or wider.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is nan in java?
What is sleep method?
Give me some null interfaces in java?
What is the difference between iterator and enumeration ?
How do you check if an arraylist is not empty?
What is passing value java?
How do you define a variable?
What are the basics of core java?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.
What is java lang object?
What is the instance of an object?
What are aggregate functions explain with examples?
What is static class
What is garbage collector?
How will you print number in reverse (descending) order in BST.