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 body of water is found in the central United States
Divide 33 photos into two groups so the ratio is 4 to 7
what is the expanded form of 845,450?
Congress lacked the money it needed to pay off the government’s war debt because _____.
what is the most studied transform fault in the world
Why doesn't a cube root have two answers
In Buddhism, the __________ provides a set of concepts to improve life and reach enlightenment. a. Torah b. Bible c. Qur’an d. Eightfold Path
What is 1/50 in decimal form?
There are 40 boys in a computer club. The ratio of girls to boys is 2 to 5. How many girls are in the club?
As a result of the Congress of Vienna, France