Examlex

Solved

What Will Be Output After the Following Java Statements Have

question 19

Multiple Choice

What 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" ) ;


Definitions:

Related Questions