Solved

What Is the Output of the Following Java Code? Int

Question 37

Multiple Choice

What is the output of the following Java code? int x = 0; if (x > 0) System.out.println("positive ") ; System.out.println("zero ") ; System.out.println("negative") ;


A) zero
B) negative
C) zero negative
D) positive zero negative

Correct Answer:

verifed

Verified

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

Related Questions