Which of the following statements about the else-if construct is false?

A. The else-if is a multiway selection.
B. The else-if is a C construct.
C. The else-if is used when the expression is not an integral type.
D. The last test in an else-if series concludes with only an else, which is then the default action.
E. The else-if should be used only then the same basic expression is being evaluated in the multiway selection.


Answer: B

Computer Science & Information Technology

You might also like to view...

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

1. In JavaFX all CSS properties begin with -fx-. 2. In a JavaFX application, a CSS type selector corresponds to a specific JavaFX node. 3. In a JavaFX application, you must recompile the application each time you make a change to the stylesheet. 4. Styles specified with the .root selector take precedence over styles applied to any other node. 5. CSS uses the RGB color system to define colors and colors can be specified using six hexadecimal numbers preceded by the # symbol.

Computer Science & Information Technology

Which of the following statements is preferred to create a string "Welcome to Java"?

a. String s = "Welcome to Java"; b. String s = new String("Welcome to Java"); c. String s; s = "Welcome to Java"; d. String s; s = new String("Welcome to Java");

Computer Science & Information Technology

Interactive media can include multimedia elements such as text, images, animation, video, and audio.

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

Computer Science & Information Technology

When you insert a header or watermark, you are working with a(n) ____.

A. AutoComplete B. building block C. AutoText D. control field

Computer Science & Information Technology