

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


3rdLine Ugly_Betty one/two Int nine2five lower-half Seven%Solution Ex2_3_
int x = -2;int y = -1; int z = 4;boolean b = x + y < z || 4 * y + z > x && x > y; System.out.print( "b = " + b ); ____________________ b = (x + y < z || 4 * y + z > x) && x > y; System.out.print( "b = " + b ); ____________________ x = z + 6 % 4 + y * 2; System.out.print( "x = " + x ); ____________________
new Color( 255, 0, 0 ) ________________
a) new Color( 200, 200, 200 ); b) new Color( 125, 125, 125 ); c) new Color( 55, 55, 55 );
System.out.println( "The count is : + count โ 3" );
System.out.println( "The count is: " + ( count + 2 ) );
System.out.println( "The count is:" + count + 4 );
int x = 2; int y = -3;int z = 5; if ( x > y + z )y--; x++;
int x = 2; int y = -3;int z = 5; if ( x > y + z ) { y--; x++; }