Computer Science, asked by rohitkumar9228, 1 year ago

how to overload the constructor ​

Answers

Answered by shruti720
0

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.


rohitkumar9228: hi
Answered by Anonymous
2

━━━━━━━━━━━━━━━━━━━━━━━━━

\bf\Huge\red{\mid{\overline{\underline{ ANSWER }}}\mid }

━━━━━━━━━━━━━━━━━━━━━━━━━

\Large\fbox{\color{purple}{QUESTION}}

Overloading??

━━━━━━━━━━━━━━━━━━━━━━━━━

\Large\fbox{\color{purple}{ SOLUTION }}

\Huge\mathfrak\pink{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

━━━━━━━━━━━━━━━━━━━━━━━━━

\bf\Large\red{ THANKS \: FOR \: YOUR}

\bf\Large\red{ QUESTION \: HOPE \: IT  }

\bf\Large\red{ HELPS  }

\Large\mathcal\green{FOLLOW \: ME}

━━━━━━━━━━━━━━━━━━━━━━━━━

Similar questions