Which of the following statements is NOT true regarding switch statements?

A. The expression is sometimes called the selector.
B. Default is only executed when there is no match.
C. Default is required.
D. A variable cannot be used as the case label.


Answer: C

Computer Science & Information Technology

You might also like to view...

As you build a GUI, recall that it’s often easier to manipulate layouts and controls via Scene Builder’s ________ window than directly in the stage design area.

a. Inspector b. Document c. Controller d. Library

Computer Science & Information Technology

If you want to separate the field "Beginning to Ending Inventory," which is currently a range of two numbers, to two different fields, your first step should be to:

A) change the primary key. B) insert a field. C) click the "Separate field" button. D) delete the field.

Computer Science & Information Technology

The number of significant digits in a double variable is up to 15.

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

Computer Science & Information Technology

?Identify a text-level element used to mark generic run of text within the document.

A. ?span B. ?div C. ?cite D. ?mark

Computer Science & Information Technology