132. 1. Given the following code :
What is the result?
A. (i == j) is false
B. (i == j) is true
C. Compilation fails at line 4 D. Compilation fails at line 6
E. There is a runtime error
133. 2. Given the following code:
What is the result ?
A. Output: 558
B. Output: 5553
C. Compilation fails at line 3
D. Compilation fails at line 4
E. There is a runtime error
134. 3. Given the following code:
Which, inserted at line 4, will compile correctly? (Choose all
that apply.)
A. float x = 128.5;
B. double x = s.length();
C. byte x = (byte) 120 + 1;
D. short x = s.length();
E. int x = 255L;
135.
136. 4. Given the following code:
What is the result?
A. s = 1236
D. Compilation fails
B. s = 1237
C. s = 1238
E. Runtime error
137. 5. Given the following code:
What is the result?
A. 245
B. 321
C. 323
D. 333
E. 345
138. 6. Given the following code:
What is the printed value of j?
A. 14
B. -14
C. 15
D. -15
E. An error at line 3 causes compilation fails
139. 7. Which two of following declarations are illegal?
A. S1
B. S2
C. S3
D. S4
E. S5
F. S6