Which of the following is true aboutcaseclauses in aswitchstatement?

A. they must contain abreakstatement
B. the value can be a literal constant
C. the data type can be different from the selectorExpression
D. eachcaseclause has adefaultclause


Answer: B

Computer Science & Information Technology

You might also like to view...

The most obvious computer malfunction is a failure to power up.

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

Computer Science & Information Technology

A traditional approach to organizing files is to use a ________ structure that consists of folders and subfolders containing related files

A) non-hierarchal B) newsfeed C) hierarchal D) reading view

Computer Science & Information Technology

In a database, a ________ is the collection of related data that displays in a row

A) group B) record C) label D) field

Computer Science & Information Technology

Most BIOS chips are an example of flash memory

Indicate whether the statement is true or false

Computer Science & Information Technology