Solved

Will Be Output After the Following Java Statements Have Been

Question 20

Multiple Choice

will be output after the following Java statements have been executed (assume all variables are of type int) ? a = 4;
B = 12;
C = 37;
D = 51;
If (a < b) {
System.out.println("a < b") ;
}
If (a > b) {
System.out.println("a > b") ;
}
If (d <= c) {
System.out.println("d <= c") ;
}
If (c != d) {
System.out.println("c != d") ;
}


A) a < b c != d
B) a < b d <= c
C != d
C) a > b c != d
D) a < b c < d
A != b

Correct Answer:

verifed

Verified

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

Related Questions