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

a hydrogen atom has one proton, two neutrons, and no electrons. Is this atom an ion? Explain your answer.
You increase the size of a page by 30%. Then you decrease it by 30%. What is the size of the page now?
In one country, approximately 174,600 of 970,000 restaurants are pizza restaurants. Determine the percentage of restaurants in the country that are pizza restau
Every weekday, Tasha walks 3/8 mile to go to school. After school, she walks 2/8 mile to go to her grandparents' house. Then she takes the smae route home. Does
Janelle walks to school.Her friend Sara takes the bus.How are Janelle and the bus similar?How are the sources of energy different?
what is the chance of rolling a 4 with a single die three times in a row
What are the factor pairs for 72? I need help. I don't know my factor pairs really well.
Is 3/10 greater than 5/10
The state religion of the Han Dynasty was _____. A. Shinto B. Buddhism C. Confucianism D. Tao
In one country, approximately 174,600 of 970,000 restaurants are pizza restaurants. Determine the percentage of restaurants in the country that are pizza restau