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 did Homer do? A. Established democracy B. Fought over Helen C. Described the Trojan War D. Led Sparta against Persia
When chance, bias, and confounding have been ruled out as alternative explanations for an association, we may conclude that the association is causal?
When pavlov's dogs salivated after hearing a bell ring even though no food was present, they demonstrated a pattern of learning called _____?
given a side view with AD=7m and CB=16m the hipotenus is AB=13.45 calcuate the angle of A
PLEASE ANSWER THIS USING THE PICTURES.. A paper airplane is thrown off a 64-foot bridge into the water below. Its height, in feet, is represented by f(x) = –16(
why must we protects our rivers
What did Homer do? A. Established democracy B. Fought over Helen C. Described the Trojan War D. Led Sparta against Persia
What makes agar ideal for cultivation of microbes?
i put translation but it’s wrong helppp
sketch the graph of each line