kevon4131 kevon4131
  • 23-11-2017
  • Computers and Technology
contestada

When you ____ a method, you write multiple methods with a shared name but different parameter lists?

Respuesta :

otisidev
otisidev otisidev
  • 25-11-2017
When you overload a method, you write multiple methods with a shared name with different parameter list.
example c#
 int AddNumbers(int a, int b){
    return a+b;
};

int AddNumbers(double a, double a){
  return Convert.ToInt32(a+b);
}

Answer Link

Otras preguntas

How many electrons make up a charge of 3.5kC?
Simplify the rational expression. State any excluded values.
How many years does it take for your body to replace itself with all new cells?
solve the problem- 12.4 divided by two-fifths
Charlie runs at a speed of 3 yards per second.about how many miles does Charlie run
is gold one of the transition elements
An aiplane travels 520 miles in 1.3 hours. What is its speed in miles per hour?
when organisms reproduce what must be passed on in order for the species to continue
How was the African slave trade adapted to European needs?
Select the correct negative answer to the question: Elle ne joue pas au tennis? Si, elle joue au tennis. Si , elle ne joue pas au tennis. Non, elle joue au tenn