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
When should I use a singleton?
Can we use switch statement with strings?
What is procedure overloading?
Explain the difference between protected and default access.
Explain, java is compatible with all servers but not all browsers?
Do extraneous variables affect validity?
What is the largest number a double can hold?
What is an eror in java?
Why do we override tostring method in java?
Can we have more than one package statement in source file ?
what is synchronization and why is it important? : Java thread
What is Mutex (Mutual Exclusion Object) ?
What is the need of transient variables in Java ?
When is the arraystoreexception thrown?
Is string is a data type?