Solved

The Following Code Displays ___________

Question 17

Multiple Choice

The following code displays ___________.
double temperature = 50;
If (temperature >= 100)
System.out.println("too hot") ;
Else if (temperature <= 40)
System.out.println("too cold") ;
Else
System.out.println("just right") ;


A) too hot
B) too cold
C) too hot too cold just right
D) just right

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents