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

Choose three words from “Ulysses” and three words from “The Lady of Shalott” that you did not know or had to look up in a dictionary. Write a new sentence for e
The speed of light in benzene is 2.00×108 m/s. what is the index of refraction of benzene?
If the product of two consecutive integers is 156 what type of equation do you create to solve this problem
​​most code division multiple access (cdma) networks conform to ____________ , created by the telecommunications industry association (tia).
Question 3(Multiple Choice Worth 2 points) The United States began as more of a market economy but grew more mixed as government added laws and regulations t
What is the approximate angle measure for angle W in the triangle below? 48.5° 53.9° 77.6° 89.8°
Which type of tissue forms a communication and coordination system?
The distance between new york city and boston is 189.9 miles as the crow flies how far is it in kilometers
Give three examples of how probability is used in everyday life
. When rolling two six-sided number cubes, what is the probability of getting a sum of at least 5?