Which of the following is a syntax error?

a) Having duplicate cases in the same switch statement.
b) Using an int variable in the test expression of a switch statement.
c) Having a default case in a switch statement.
d) Using a string variable in the test expression of a switch statement.

a) Having duplicate cases in the same switch statement

Computer Science & Information Technology

You might also like to view...

Business managers convert relevant data into information using tools like Access

Indicate whether the statement is true or false

Computer Science & Information Technology

Pick the fonts that are not web-safe fonts

a. Helvetica b. Courier New c. Arial d. Cambria e. Times New Roman f. Baskerville

Computer Science & Information Technology