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 the magnitude of the electric field strength at a position that is 1.2 m from a point charge of 4.2 x10^-6 C
As a medical assistant tasked with preparing insurance claims and posting insurance payments, you must be accurate in every detail. Explain how you may do this.
The rate of the given reaction is 0.840 M/s. A +4B - 2C What is the relative rate of change of each species in the reaction?
I need help with assignment any questions answered will be greatly appreciated and their is also a word bank appeal courts of appeals district court original j
What is the coefficient for lead (II) carbonate
At a birthday party, there is a choice of the following desserts: 30 chocolate chip cookies, 20 sugar cookies, or 50 brownies. The probability that the first pe
What are the proles, and why does the government overall ignore them?.
I am going to high school do you guys have some advice?
What's wrong with the following sentence??
14. What should an artist aim to accomplish when constructing a contour drawing? (1 point) A. accurately represent the basic form of the subject B. create subje