Which of the following commands can be used in a function?

A. return 3;
B. document.write("Hello World");
C. z = 1 + 2;
D. all of the above


Answer: D

Computer Science & Information Technology

You might also like to view...

What two types of assessment methods are employed with the CMM model?

A. Software capability evaluation (SCE) and software process assessment (SPA) B. Software configuration evaluation (SCE) and software model assessment (SMA) C. Software control evaluation (SCE) and software maturity assessment (SMA) D. Software capability evaluation (SCE) and software model assessment (SMA)

Computer Science & Information Technology

What is the purpose of Java’s wrapper classes?

What will be an ideal response?

Computer Science & Information Technology

Adjusting the transparency of an image permits some of the slide background to be seen through the placeholder background

Indicate whether the statement is true or false

Computer Science & Information Technology

A ________ uses a combination of uppercase and lowercase letters, special characters, numbers, and spaces in a character string

A) strong password B) keyword C) encrypted password D) weak password

Computer Science & Information Technology