Quizzma Latest Questions

Assume that the Boolean variable hot is assigned the value true and the Boolean variable humid is assigned the value false. Which of the following will display the value true ? Select two answers.

Anonymous

Assume that the Boolean variable hot is assigned the value true and the Boolean variable humid is assigned the value false. Which of the following will display the value true ?
Select two answers.




Related Questions

Leave an answer

Leave an answer

1 Answer

  1. Answer C, Since hot OR humid evaluates to true, the body of the IF statement is executed. Since hot is true, true is displayed.