Question 1 of 10
An aquarium nests a second salinity check. What text does this Java code display?
int salt = 20;
if (salt > 30)
{
if (salt > 40)
System.out.print("high");
}
System.out.print("check");
- A. high
- B. highcheck
- C. nothing
- D. check