Distinguish method overloading and overriding
Answers were Sorted based on User's Feedback
Answer / pralay
Method Overloading is functionality of java in which we can
declare many method with same name but different signature
in one class, but Overriding is a the process of declare a
method which is already define in super class, this Method
has same name and same signature as super class.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / anita kumari
In case of overloading signature should be different.
In case of overriding signature should be shame. Return type should be same. And acess level will be same or wider.
| Is This Answer Correct ? | 0 Yes | 0 No |
What method is used to compare two strings ?
What is lastindexof in java?
explain System.out.println
107 Answers Calpine Technologies, Care, Cognizant, CTS, IBM, IBS, LibSys, Oracle, Spiro Solutions, TCS,
Can a class have an interface?
Which language is java?
how can i take the inputs from users in java program?
What is compareto () in java?
What will happen if a thrown exception is not handled?
0 Answers ABB, Akamai Technologies, Infogain,
how would you implement a thread pool? : Java thread
What is static class
Is it possible to declare abstract class as final?What happens if we do so?
How to use Media tracker Class.