Multiple Choice
What will be output after the following Java statements have been executed? int a,b,c,d;
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:

Verified
Correct Answer:
Verified
Q1: Which of the following escape sequences represents
Q3: Which of the following cannot cause a
Q5: When method printf requires multiple arguments,the arguments
Q7: What is the value of result after
Q7: Which of the following is not an
Q15: Which of the following statement displays Hello
Q15: The format specifier _ is a placeholder
Q19: Which of the following does not contain
Q29: Which of the following is a variable
Q30: Which command compiles the Java source code