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

what is 3x+5y=20 graphed?
The value of business furniture is assumed to depreciate (decrease) in value linearly. If the value was $56,000 in 2012 and $48,500 in 2015, when will the value
why did Roosevelt win an unprecedented third term in office
When people are distracted, they are more likely to fall prey to the fundamental attribution error. This occurs because internal attributions arise from _______
An 8.00-m-long length of wire has a resistance of 4.00 Ω. The wire is uniformly stretched to a length of 16.0 m. Find the resistance of the wire after it has be
Suppose that in the market for ice cream the elasticity of supply is equal to 1.50. How would a 10% increase in the price of ice cream affect the quantity of ic
What process takes place in chloroplasts? cellular respiration digestion chromatography photosynthesis
I need a short biography on Captain Phoebus and Esmeralda from the hunchback of Notre Dame Please and thank you!
A bag contains ten tiles labeled B, C, D, E, F, G, H, I, J, and K. One tile will be randomly picked. What is the probability of picking a vowel? Write your answ
What is the name of the piece above?​