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

Help me please I need help
An electrochemical cell is connected to a current by its____. A. Electrolyte B. Terminals C. Electrodes D. Metals
Michael has a fish tank that has a length of 7 inches,a width of 6 inches and a height of 8 inches. What is the total surface area of the fish tank
You draw two cards from a standard deck of 52 cards. What is the probability of drawing a club and then a diamond consecutively from the deck without replacemen
why did gateway choose not to carry any finished product inventory at its retail stress? why apple choose to carry inventory at its stores?​
Lines of equal length
Which of the following makes it more likely that a child will be bullied? A. Children who are different from others are more likely to be bullied. B. Children w
Can someone answer this question please answer it correctly pleas help me if it’s correct I will mark you brainliest
Find the answer, then add 16, then find its square. Then for triple points triple the found square.
Select the correct answer. Which statement is true? A. Savings are a leakage in the circular flow of income. B. Households pay wages to businesses. C. Export