Question: Assume that i = 3, j = 4, k = 6 and m = 8. What does each of the following statements print? a) System.out.println(

Assume that i = 3, j = 4, k = 6 and m = 8. What does each of the following statements print?

a) System.out.println( i == 2 );

b) System.out.println( ! (j != 3) );

c) System.out.println( ( i >= 1 ) && ( j < 4 ) );

d) System.out.println( ( m <= 99 ) & ( k < m ) );

c) System.out.println( ( i >= 1 ) || ( j < 4 ) );

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!