Differences between method overloading and constructor overloading??
Answers
Answered by
1
Answer:
- Method Overloading • Two or more methods within the same class that share the same name, but with different parameter declarations (type signatures). ...
- Constructors having the same name with different parameter list is called constructor overloading.
Explanation:
Answered by
2
━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━
Overloading
━━━━━━━━━━━━━━━━━━━━━━━━━
overloading is a condition in which the high current flows through the circuit and at the same time too many appliances are switched on then the total current drawn through the circuit may exceed its rated value.
and condition when the live wire comes in contact with the neutral wire due to which a high current flows in a circuit
━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━
Similar questions