What is the difference between overloading and overriding a
function?
Answer Posted / ankit
IN overloading the function are used in same class, they
have different parameters each time we define the funtion,
and perform the same task.
overriding is used in diferent class with same parameters.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How does split work in java?
Can we have more than one package statement in the source file?
What are packages in java?
What is synchronization and why is it important in java programming?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What is queue in java?
Objects or references which of them gets garbage collected?
What is memory leak and how does java handle it?
What is the difference between jdk, jre, and jvm?
What is use of arraylist in java?
Can the interface be final?
What are the advantages of passing this into a method instead of the current class object itself?
What is the importance of finally block in exception handling?
What is a lock or purpose of locks in java?
Is nan false?