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 |
How can you set the applet size?
Difference between process and thread?
What is runtime polymorphism or dynamic method dispatch?
Is singleton thread safe in java?
Can we use this () and super () in a method?
What do you mean by access modifier?
can we have function for truncating the sign as like abs in oracle.
what is difference between colection and collections?
25 Answers Amdocs, IBM, Infosys, Ipog Software, Polaris, Tech Mahindra,
Can we overload the methods by making them static?
Program to Find the second largest element in an array.
Can we access a database using applets?
Does java isempty check for null?