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

In two to four synthesis write an analysis explaining how John masefield poem sea fever is written in fixed poetic structure
Can someone help me solve this? I will need the x and y and will also need to solve for angles 1, 2, 3, and 4.
What is the value of x?
examples of subtraction of two fractions ( between 0-1) with a common denominator. IN STEPS ALL WORK, I need two examples.
what is the maximum density of water​
Can someone help me? It's urgent and thank you!
¿Qué se puede decir acerca de la relación entre el ser humano y el medio geográfico se puede establecer?
Complete the following sentences with the conditional to express an if then statement: 1.Si los maestros no supieran nada... 2.Si Juan comiera más fruta, no...
The Bill of Rights is an outline of ---
What is the subject and theme of "Ozymandias" by Percy Bysshe Shelley? Ozymandias by Percy Bysshe Shelley I met a traveller from an antique land Who said: Two v