Ši naršyklė nebepalaikoma.
Atnaujinkite į „Microsoft Edge“, kad pasinaudotumėte naujausiomis funkcijomis, saugos naujinimais ir techniniu palaikymu.
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.
Ar šis puslapis buvo naudingas?
Reikia pagalbos šioje temoje?
Norite išbandyti funkciją „Ask Learn“, kad patikslintų arba paaiškintų šią temą?