Distinguish method overloading and method overriding
Answer Posted / sarbbottam bandyopadhyay
For method overloading the return type have to be same. Only the number of argument or type of argument or both will be different. But return type have to be the same.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What does a void function return?
Tell me the Importent classes in net package?
Write a program to print 15 random numbers using foreach of java 8?
Does isempty check for null?
How to check if a list is sorted in java?
Can you inherit a constructor java?
What are the two categories of data types in the java programming language?
Does every java program need a main?
Explain illegalmonitorstateexception and when it will be thrown?
Can we have try block without catch block?
Write a java program that prints all the values given at command-line.
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
Can private method static?
What are inner classes or non static nested classes in java?
Why is the singleton pattern considered to be an anti pattern?