The switch statement can be used instead of an if/else if statement:
A) at any time.
B) only when comparing the value of an expression to a floating point value.
C) only when comparing the value of an expression to any char or integer variable.
D) only when comparing the value of an expression to constant integers, characters, or Strings.
E) only when comparing the value of an expression to a constant String value.
Correct Answer:
Verified
Q39: "!( a && b ) is equivalent
Q40: With the boolean expression a && b,
Q41: !( a > 3 ) is equivalent
Q42: !( a > 38 && b <=
Q43: If you have an if/else if/else code
Q45: = is the equality operator.
Q46: a && b is true only when
Q47: In an if statement, curly braces around
Q48: Inside an if statement, statements inside the
Q49: if statements can be nested.
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents