| CIT 591 First Quiz Fall 2001, Dave Matuszek |
Name __________________________________________
|
Please keep all answers short and legible. Do not volunteer information that was not asked for. Where appropriate, distinguish clearly between capital letters and lowercase letters.
true and false. door_is_open ______________________________ openthedoor ______________________________ garagedoor ______________________________ my_garagedoor ______________________________ int i causes
space to be allocated for an integer variable. String s does
not cause space to be allocated for a String variable.{ } is
a legal statement in Java.if (x - 1) y = 2 * x;while (x > y) { x--; y++ }for (int i = 0; i++; i < 10)
System.out.println(i);If (m < 0) m = -m;