Which of the following is the correct syntax for the beginning of a switch statement that evaluates a variable named choice??

A. case(choice):
B. switch[choice] {?
C. case[choice]:
D. switch(choice) {


Answer: D

Computer Science & Information Technology

You might also like to view...

Text can be ________ to the shape of the object

Fill in the blank(s) with correct word

Computer Science & Information Technology

A Mac will play all video file types.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

By default, a drop-down box displays only two menu items.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A new directory can be created using the ____________________ function.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology