Distinguish method overloading and overriding
Answer Posted / 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 |
Post New Answer View All Answers
Can we override the overloaded method?
What does int argc char * argv [] mean?
What is api in java?
Are true and false keywords?
What are loops in java? What are three types of loops?
How is java hashmap implemented?
How dead lock situation occurs in java and how you can identify it?
What is polymorphism and what are the types of it?
What does += mean coding?
What are "class access modifiers" in Java?
How many types of memory areas are allocated by JVM in java?
What is the importance of main method in Java?
What is the benefit of singleton pattern?
How hashset works internally in java?
What is the size of string?