Ši naršyklė nebepalaikoma.
Atnaujinkite į „Microsoft Edge“, kad pasinaudotumėte naujausiomis funkcijomis, saugos naujinimais ir techniniu palaikymu.
Which of the following correctly declares a method?
DisplayNumbers();
void DisplayNumbers{};
void DisplayNumbers() { }
Which of the following correctly calls a method?
GenerateID();
void GenerateID() {}
GenerateID;
Which of the following is true about the return keyword?
return
It's identical to the break keyword.
break
It terminates the execution of a method.
It must always be used with a value or expression.
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ą?