Dëse Browser gëtt net méi ënnerstëtzt.
Upgrat op Microsoft Edge fir vun de Virdeeler vun leschten Eegeschaften, Sécherheetsupdaten, an techneschem Support ze profitéieren.
Which of the following method signatures correctly defines 3 integer parameters?
void Multiply(int a, b, c)
void Multiply(int a, int b, int c)
void Multiply(int a; int b; int c)
Given the method signature, void Print(string name, string number = "", bool member = false), which of the following options correctly uses named and optional arguments?
void Print(string name, string number = "", bool member = false)
Print("Tony", member: true);
Print(number: "555", member: false)
Print("Tony", false)
Given the following method signature, void SetHealth(string health), why don't operations inside the method affect the original input string health?
void SetHealth(string health)
health
The string data type is pass by value.
string
The method code must be incorrect.
Strings can't be altered once assigned. They can only be overwritten with a new value.
You must answer all questions before checking your work.
War dës Säit hëllefräich?
Braucht Dir Hëllef mat dësem Theema?
Wëllt Dir probéieren, Ask Learn ze benotzen, fir Iech duerch dëst Theema ze leeden oder et méi kloer ze maachen?