how to overload the constructor
Answers
Overload of a constructor or a method means that you create multiple versions of the same constructor or method. Each version has the same name, but different arguments that it accepts. When you call an overloaded method, Java will know which one you intend, based on the number of arguments and/or data types.
━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━
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
━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━