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

Why did holmes want to look at the hotel register, and what did he find?
kathleen worked for 4 hours and 45 minutes. how should she write that on her time card? A. 4.5 B. 4.45 C. 4.25 D. 4.75
What was the purpose of the constitutional convention held in Philadelphia in 1787 A. To name the first president of the United States of America B. To vote whe
how to say "yes her like to do her homework" in france
describe how the pony express was affected by mechanization
What one thing did society in the setting of pride and prejudice believe most wealthy single men lacked?
Which of the following is the quadratic parent function
Are the following figures similar? yes or no? Corresponding angles are congruent Yes or no? Corresponding sides are proportional
Explain the forces that keep the rock balanced on its tiny pedestal?
In what ways was britain's salutary neglect a good thing for the colonists?